pwesthead Posted June 15, 2012 Share Posted June 15, 2012 Hi I want to post some data from my php file to a xml file how would i do this. here is my php file $result = mysql_query("insert into ".DB_BANNERS." set banner= '".$_FILES['file']['name']."',link= '".$link."',username= '".$username."',startdate= '".$startdate."',amount= '".$amount."',banner_id= '".$ID."'"); i want to post the name and link into a xml file thanks paul Quote Link to comment https://forums.phpfreaks.com/topic/264225-post-from-php-file-to-a-xml-file/ Share on other sites More sharing options...
trq Posted June 15, 2012 Share Posted June 15, 2012 xml is not a scripting language and as such cannot process post data. Your question makes little sense. Quote Link to comment https://forums.phpfreaks.com/topic/264225-post-from-php-file-to-a-xml-file/#findComment-1354078 Share on other sites More sharing options...
pwesthead Posted June 15, 2012 Author Share Posted June 15, 2012 Hi thanks for the reply iv just sorted it out how to do this, cannot get the data from post but can get it from the database after iv posted the info. thanks paul Quote Link to comment https://forums.phpfreaks.com/topic/264225-post-from-php-file-to-a-xml-file/#findComment-1354082 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.