how to post data to two php pages simultaneously & parallely execute them? -


i want parallelly post data 2 pages operates on data independently. no time wastage occur. can execute them serially want post data both pages simultaneously , execute parallelly. please suggest me idea?

you can send 2 ajax request using javascript.

using jquery like

$.post('first_page.php', {data: 'some data'}, function(response) {    // process 1st page }); $.post('second_page.php', {data: 'some data'}, function(response) {    // process 2nd page }); 

Comments