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.

How can you guys expect to get work if you don't even read the project description? I said 2 hours, and $30, and i don't need anything but these damn 50 lines of code.

@GAF: you really need to set up some kind of flagging system, so that these spammers and fakers will get flagged and banned.

Færdigheder: PHP, XML

Se mere: php xml save parse, survey t, xmlsave iso 8859, xml save, save parsed xml file, read xml save database, parse xml save database, read xml save, save parsed xml mysql, s+db, parsed, parse and, parse a string, null, key generate, iso, int, parse table, xml application, xml parse line, save table xml, xml quot, php parse string, php encoding, php parse xml table

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