Pawan_Agarwal Posted August 5, 2013 Share Posted August 5, 2013 I am trying to send data from page1.php to page2.php with ajax, can someone tell me how to send data from page1 to page2 and then insert it into database, also tell me that after inserting the values in database, it must display the message on html page "data has been saved !!!"... I am trying to display message by document.getElementById('message').innerHTML = "Your data has been saved"........... Link to comment https://forums.phpfreaks.com/topic/280861-insert-data-with-ajax/ Share on other sites More sharing options...
PravinS Posted August 6, 2013 Share Posted August 6, 2013 refer : http://www.w3schools.com/php/php_ajax_database.asp Link to comment https://forums.phpfreaks.com/topic/280861-insert-data-with-ajax/#findComment-1443619 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.