using variables from a form in a longish script - outside of functions
| From: | (Helmut Ott) | Date: | Thu, 21 Sep 2000 18:07:50 +0000 |
| Subject: | using variables from a form in a longish script - outside of functions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-17202@lists.php.net to get a copy of this message | ||
in a longish script I have variables coming in from a form like this:
A user fills in username & password and action calls the script - the variable values are passed
to the script - so far this works.
Now when e.g. I want the user to add a new record (which is the purpose of the script) the variables
(that echoed their passed over values in the beginning of the script) are empty when used further
down. Though there is no function involved (where I could define the variables as global ), only a
if-statement within which the variables are used.
Any clues?
Thanks everybody.
Helmut
Why dont I get the values