Hello,
I have a few questions regarding XML that I hope someone could answer. I realize that to get data from mysql into an xml document, you will need some type of programming language to handle the transfer. If I choose to use PHP, does that mean that I put the PHP code inside a .xml document, and simple output my results?
something like:
while($row = mysql_fetch_array($query))
{
printf('<person><name>%s</name></person>',$row["Name"]);
}
Or is the PHP code external, and somehow the php script feeds the data into the xml document?
Any help would be much appreatiated.
Thanks
I have a few questions regarding XML that I hope someone could answer. I realize that to get data from mysql into an xml document, you will need some type of programming language to handle the transfer. If I choose to use PHP, does that mean that I put the PHP code inside a .xml document, and simple output my results?
something like:
while($row = mysql_fetch_array($query))
{
printf('<person><name>%s</name></person>',$row["Name"]);
}
Or is the PHP code external, and somehow the php script feeds the data into the xml document?
Any help would be much appreatiated.
Thanks