"Ronald "The Newbie" Allen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How would I carry a variable from one page to another > > Here is what I mean > > I have a send.php page and this is sent to > insert_into_database.php where the values of the previous page are inserted > into the database. > I then use a meta=refresh to go to another page and evaluate the variable. > The problem is that I do remember how to carry the variable. I believed > that I used the meta before to carry it, but unsure. Any help would be > appreciated!
This could be done via GET by appending the values to the target URI: insert_into_database.php?value1=$value1&value2=$value2&value3=$value3 On the next page you acces those values via: $_GET['value1'] $_GET['value2'] $_GET['value3'] Here's the corresponding manual: http://de3.php.net/manual/en/reserved.variables.php#reserved.variables.get Hope this helps. Regards, Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php