![]() |
|
#1
|
|||
|
|||
Return to previous page.Greetings and salutations this fine evening.
I have a easy question. I have a form on my site, where visitors submit information into a database. Upon clicking the submit button, I want the user to be able to return to their previous page. How might I do this. Thanks, Richard |
|||
|
#2
|
||||
|
||||
Re: Return to previous page.There are obviously a couple of ways you could handle this and the easiest (I think) is to grab the referrer data when they fetch the form and paste it in into the form itself as a hidden form element.
PHP Code:
|
|
#3
|
|||
|
|||
Re: Return to previous page.I can see what you showing, but for some reason I can't seem to make it work for me.
I'm not very adept at PHP, so I can very easily be doing this wrong. Thanks, Richard |
Recent GIDBlog
Problems with the Navy (Chiefs) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: Things to Avoid in C/C++ -- gets() , Part 1 | WaltP | C Programming Language | 5 | 21-Jun-2007 13:13 |
| need help with a console menu system | BullBuchanan | C++ Forum | 6 | 20-Aug-2006 15:46 |
| Reading non ASCII with read() | Atomical | C Programming Language | 8 | 13-Sep-2005 15:30 |
| Problem with one variable | bretter | C++ Forum | 1 | 16-May-2005 08:20 |
| C++ file I/O | CronoX | C++ Forum | 36 | 09-Mar-2004 18:28 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The