harshpandya Posted March 26, 2008 Share Posted March 26, 2008 Here is my code :else if ($_POST['action'] == "getzoom") {do something here:::$xml = $client->GetMag($getmag);echo $xml;}When i try to print on web page or try to alert it -- it shows me the undefine alert message. It looks like it doe not taking value for some reason???How do i print this $xml variable in WebpageThanks Link to comment Share on other sites More sharing options...
justsomeguy Posted March 26, 2008 Share Posted March 26, 2008 That's exactly what you're already doing. An echo statement prints a variable. Link to comment Share on other sites More sharing options...
harshpandya Posted March 26, 2008 Author Share Posted March 26, 2008 Right oops mybad!! But ya so what do you think might be the problem Link to comment Share on other sites More sharing options...
harshpandya Posted March 26, 2008 Author Share Posted March 26, 2008 Sorry guys i found there was something wrong is the function it sefl i was calling. Thats why it was not workingThanks for help Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.