Hi,
I use a submit to POST a data to page1.php. When i am in page1.php, I go to another page. But when i want to come back, page1.php is not displayed. I know it is about POSTed data but How can i prevent this issue?
Thanks
Hi,
I use a submit to POST a data to page1.php. When i am in page1.php, I go to another page. But when i want to come back, page1.php is not displayed. I know it is about POSTed data but How can i prevent this issue?
Thanks
does page1.php post to another page or itself?
1. page1.php posts data to page2.php. In this case, i can come back to page1.php.
2. When i am page2.php, if i go to page3.php with a link (without sending data), i cannot come back to page2.php.
Thanks
to avoid problem likes this is, i have my pages post to themselves. then the values are put into an session array so they can be used on another page. after this, i use the header function to redirect to the page. this will get rid of the post data problem.
How header function works?
Thanks
process the post data on the same page then use header('Location: page2.php')
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.