How to refresh the page at the same time when wap-PHP returns to the previous page

Source: Internet
Author: User
The wap page does not have a header and can only be returned through the browser's previous page. How can I click the previous page to return and refresh, modify the data, and return to the previous page without updating the wap page without a header? Only the browser's previous page can be returned, how to click the previous page to return and refresh, modify data, and return to the previous page without updating

Reply content:

The wap page does not have a header and can only be returned through the browser's previous page. How can I click the previous page to return and refresh, modify the data, and return to the previous page without updating?

Javascript: window. location. href = document. referrerPHP: header ('location: '. $ _ SERVER ['HTTP _ referer']);

It has nothing to do with php. It is not a problem for different browsers to refresh the returned result in the browser. You can add a hyperlink to the page to be returned when you modify the data or jump back a few seconds later. js location, php header, and so on can all be used.

Returning js Code directly with php is the most convenient

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.