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 ? Link to comment https://forums.phpfreaks.com/topic/179588-simple-ajax-help/ 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? Link to comment https://forums.phpfreaks.com/topic/179588-simple-ajax-help/#findComment-948004 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.