Page 1 of 1

Retrieve data from mysql using xml and php

Posted: Sun Nov 16, 2003 8:07 pm
by ginnyows
i'm trying to retrieve data from mysql table and pass it into an xml document, then parse with php.
however, the variable name that i used to pass the value to the xml document was recognised as a character data instead of its value.

how do i make it recognise the value of the variable??

Posted: Sun Nov 16, 2003 11:14 pm
by infolock
there is ALL KINDS of information on this at http://www.php.net/xml


edit :

also a good note is this url.
http://phpxmlclasses.sourceforge.net/

you'll find all kinds of classes prebuilt for parsing xml files...

Re: Retrieve data from mysql using xml and php

Posted: Sun Nov 16, 2003 11:48 pm
by scorphus
ginnyows wrote:how do i make it recognise the value of the variable??
Not ignoring infolock's post, but what did you try already? Please show us part of your code so we can offer a more accurate help to you on this matter.

Cheers,
Scorphus.