Sedang Disiapkan

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.

Kemahiran: PHP, XML

Lihat lebih lanjut: 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

Tentang Majikan:
( 20 ulasan ) Paris, France

ID Projek: #301946

Dianugerahkan kepada:

lightcresent

get it done in 2 hours... Thanks

$30 USD dalam 0 hari
(491 Ulasan)
9.0

4 freelancers are bidding on average $36 for this job

gangabass

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

$30 USD dalam 0 hari
(118 Ulasan)
5.9
richammond

let's start now!!

$35 USD dalam 0 hari
(48 Ulasan)
5.1
OutsourcingIT

Hi, please check PMB.

$30 USD dalam 0 hari
(10 Ulasan)
4.1
GlobalEX

we can do this for u in no time .

$50 USD dalam 0 hari
(0 Ulasan)
0.0