i have 2 php files named as A.php and B.php. i need to send same data values in javascript at A.php to B.php, simple i am using below post array for that.
$.post('B.php', {sendlat: sendlat, sendlng: sendlng});
but when i sending the data to the B.php. once sending has complete i need to open the B.php file and display the posted data on the page.
can is use the session i hope no? any possible method ?
i have tried to use below method to load the file, it happened but i cant receive the data from the post array?
window.location = "B.php";
kindly give me a suggestion, am so appreciate if you can give me a coding example for this.
thank you chamath