|
|
|
|
![]() ![]() |
Jun 23 2005, 09:18 PM
Post
#1
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 407 Joined: 13-December 04 Member No.: 2,696 |
I've created a form, nothing special, that uses a php script as a form action to input data into mysql. Nothing special at all about this scenario. One thing I'd like to do is have the php script redirect the user back to the html page that has the form the user just completed. I don't want to have to hard code the url into the header function because I use this php script with a bunch of other pages. Does PHP store the value of this page into some variable that the php script can use? Thanks.
kvarnerexpress |
|
|
|
Jun 24 2005, 12:19 AM
Post
#2
|
|
|
Legend Killer ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 678 Joined: 15-April 05 From: Singapore Member No.: 5,697 |
Simply use the echo tag after the submit of forms and the put the url redirection codes to redirect it back... you can put different echos on different form submission..
|
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 12th October 2008 - 02:09 PM |