hiiii...friends..
i have a post a job page for my website.where job poster can post jobs and then if they want
to add advanced criteria then can add after submitting the current page.and go to the next page called advanced_criteria.php page . and after filling that page they go to the final submision page... ie.. postajob_final.php
i have a back button on the post a job_final .job.. i want that if any user go through two pages and click on the back button he go to the previous page . where alll the data filled by him will be displayed
i used history.go(-1) but not working in ie giving page is expired
please help ..
thanks
Back button history.go()
Moderator: General Moderators
Re: Back button history.go()
I'm rusty at this, but what I would do is - Every PHP page is rendered every time a new one is open, (so data is not saved). Me personally, I would make the back button a submit button and send any data you have on that page back to the one you are going back to (using POST). That's just what I would do.
Lance
Lance
Re: Back button history.go()
Welcome to the forums.
This isn't general discussion. Are you looking for a client-side solution (in which case I'll move this to Client-Side), or a server-side solution (in which case I'll move this to PHP Code)?
This isn't general discussion. Are you looking for a client-side solution (in which case I'll move this to Client-Side), or a server-side solution (in which case I'll move this to PHP Code)?
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Re: Back button history.go()
$_SESSION is your answer and best friend
Re: Back button history.go()
Store all the values filled by the user into session.
Re: Back button history.go()
For your reference - history.back() takes you back one page
It will still be expired though
It will still be expired though