Retrieve data from mysql using xml and php

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
ginnyows
Forum Newbie
Posts: 4
Joined: Thu Nov 06, 2003 5:06 am

Retrieve data from mysql using xml and php

Post 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??
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post 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...
User avatar
scorphus
Forum Regular
Posts: 589
Joined: Fri May 09, 2003 11:53 pm
Location: Belo Horizonte, Brazil
Contact:

Re: Retrieve data from mysql using xml and php

Post 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.
Post Reply