I gang

parse xml and save to DB

I have a database table

+--------------+-------------+------+-----+---------+----------------+

| Field | Type | Null | Key | Default | Extra |

+--------------+-------------+------+-----+---------+----------------+

| id | int(11) | NO | PRI | NULL | auto_increment |

| username | varchar(30) | NO | | NULL | |

| for_username | varchar(50) | NO | | NULL | |

| survey | int(2) | NO | | NULL | |

| question | int(2) | NO | | NULL | |

| answer | varchar(50) | NO | | NULL | |

+--------------+-------------+------+-----+---------+----------------+

and this xml:

<?xml version="1.0" encoding="iso-8859-1" ?>

<results>

<username>USERNAME</username>

<for_username>FOR USERNAME</for_username>

<survey>SURVEY ID</survey>

<questions>

<question>

<id>QUESTIONID</id>

<answer>STRING</answer>

</question>

<question>

<id>QUESTIONID</id>

<answer>STRING</answer>

</question>

[...]

</questions>

</results>

It's an xml result of a survey-type application. It can have any number of questions.

I need it parsed and saved in the mysql table. Each question item will generate a line, while username/for_username/survey remain the same.

Will pay $30, I need it done in 2 hours.

Please don't waste my time.

Færdigheder: PHP, XML

Se mere: survey t, xmlsave iso 8859, xml save, read xml save database, read xml save, null, key generate, iso, int, xml application, save table xml, xml quot, php encoding, time string, save xml quot, generate table php, xml survey application, generate xml mysql, 8859, php generate xml, time table application, xml result, time table generate, pay result, question answer database

Om arbejdsgiveren:
( 20 bedømmelser ) Paris, France

Projekt-ID: #301946

Tildelt til:

lightcresent

get it done in 2 hours... Thanks

$30 USD in 0 dage
(491 bedømmelser)
9.0

4 freelancere byder i gennemsnit $36 for dette job

gangabass

I can do this job for you. See PM for details.

$30 USD in 0 dage
(118 bedømmelser)
5.9
richammond

let's start now!!

$35 USD in 0 dage
(48 bedømmelser)
5.1
OutsourcingIT

Hi, please check PMB.

$30 USD in 0 dage
(10 bedømmelser)
4.1
GlobalEX

we can do this for u in no time .

$50 USD in 0 dage
(0 bedømmelser)
0.0