Re: Carrying Variables
| From: | Daniel Clark | Date: | Sat, 15 May 2004 15:32:16 +0000 |
| Subject: | Re: Carrying Variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186308@lists.php.net to get a copy of this message | ||
I uses <form> variables and method="post" to sent them to the next page.
On your 2nd page it's inserting into the database, so past that page, if I want to retain the
variables I either read them again from the database OR
store those variables as $_SESSION variables.
>>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!