harshpandya Posted March 25, 2008 Share Posted March 25, 2008 Here is my code :else if ($_POST['action'] == "getzoom") {do something here:::$xml = $client->GetMag($getmag);echo $xml;}How do i print this $xml variable in WebpageThanks Link to comment Share on other sites More sharing options...
jhecht Posted March 26, 2008 Share Posted March 26, 2008 Whats wrong with what you're doing right now? Link to comment Share on other sites More sharing options...
astralaaron Posted March 26, 2008 Share Posted March 26, 2008 Hey guys, this is off topic.. I am new to javascript, i am formilliar with PHP and the $_POST[]why does this guys code look like php?else if ($_POST['action'] == "getzoom") {do something here:::$xml = $client->GetMag($getmag);echo $xml;} Link to comment Share on other sites More sharing options...
astralaaron Posted March 26, 2008 Share Posted March 26, 2008 we are in the javascript forum right? Link to comment Share on other sites More sharing options...
Synook Posted March 26, 2008 Share Posted March 26, 2008 Maybe he wanted to import the variable into JavaScript? :)Edit it is PHP. Link to comment Share on other sites More sharing options...
astralaaron Posted March 26, 2008 Share Posted March 26, 2008 i dont know what he was doing thats why i asked, im trying to learn and it confused me thats all. Link to comment Share on other sites More sharing options...
harshpandya Posted March 26, 2008 Author Share Posted March 26, 2008 Sorry guys i will move this to PHP Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.