Thauwa Posted March 7, 2009 Share Posted March 7, 2009 I am trying to get data from mysql from a shared server to an XML file. Hele's the code I am tring to get the data into. (PROBLEM IS THAT I WANT THE FILE TO BE A .xml FILE!). the code below is XML.I want all values to be from MYSQL which I can't figure out. Anyway, I want the output as an XML file. <quiz> <title>MySql</title> <items> <item> <valuemain>MySql</valuemain> <value="MySql">MySql</value> <value="MySql">MySql</value> <value="MySql">MySql</value> <value="MySql">MySql</value> </item> This is for a flash based app. Please help and thanks in advance! Link to comment https://forums.phpfreaks.com/topic/148360-merging-xml-with-php-help/ Share on other sites More sharing options...
Thauwa Posted March 8, 2009 Author Share Posted March 8, 2009 can I at least do it with XML alone? Link to comment https://forums.phpfreaks.com/topic/148360-merging-xml-with-php-help/#findComment-779398 Share on other sites More sharing options...
trq Posted March 8, 2009 Share Posted March 8, 2009 Where exactly are you stuck? Do you know how to query a database? Have you got any relevent code to show us? Link to comment https://forums.phpfreaks.com/topic/148360-merging-xml-with-php-help/#findComment-779409 Share on other sites More sharing options...
RichardRotterdam Posted March 8, 2009 Share Posted March 8, 2009 can I at least do it with XML alone? If your question is : "can I fetch database records using xml only" The answer is no. You need a serverside language like PHP for that Link to comment https://forums.phpfreaks.com/topic/148360-merging-xml-with-php-help/#findComment-779458 Share on other sites More sharing options...
Thauwa Posted April 2, 2009 Author Share Posted April 2, 2009 Thank you! After many troubled nights, I've found the code. I made it, and I am 14 years old only. Now I am developing my own software! Link to comment https://forums.phpfreaks.com/topic/148360-merging-xml-with-php-help/#findComment-799211 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.