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! Quote Link to comment 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? Quote Link to comment 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? Quote Link to comment 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 Quote Link to comment 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.