For simple page jump questions about page jump, I would like to ask you to enter some data on page A, submit it to page B for database processing, and return it back to page, how does one return the processing result on page B to page? Thank you first. ------ Solution ------------------ use javascript scripts on page B. The data you want to transmit is a problem in php .. ------ Solution ---- simple page jump
For questions about page jump, please refer to prawn,
Enter some data on page A, submit it to page B for database processing, and return to page,
How does one return the processing result on page B to page?
Thank you first.
------ Solution --------------------
You can use javascript scripts on page B. The data you want to transmit is a problem in php ..
------ Solution --------------------
With ajax, the processing result can be returned to the page without Jump. Below is A small example:
Http://www.w3school.com.cn/jquery/ajax_post.asp
------ Solution --------------------
The advantage of ajax is that the page is not refreshed, asynchronous operations, and a good user experience.
Ajax with jquery is also good.
This is from the Chinese community.
Http://jquery.org.cn/manual/jQuery.ajax_options.html
If you do not need ajax, you can submit it using A form on page A. after Page B is processed, you can jump to page.
Page
Page B
... // Warehouse receiving operations or something
Header ("Location: A. php"); // However, the user experience is poor!
------ Solution --------------------
Ajax is better