n000bie Posted October 30, 2009 Share Posted October 30, 2009 I saw this tutorial http://www.w3schools.com/ajax/ajax_server.asp, copied it and just changed it from ASP to PHP xmlhttp.open("GET","test.php",true); but it does not work in my php file i just have those lines <?php $text = "hello world..."; echo $text; ?> what am i doing wrong ? Quote Link to comment Share on other sites More sharing options...
Calver Posted October 30, 2009 Share Posted October 30, 2009 It works for me! Are you getting an error? Can you post your 'testAjax.html' code? 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.