You can send two ajax request using javascript.
Using jQuery it will be something 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
});
solved how to post data to two php pages simultaneously & parallely execute them? [closed]