note 10092 added to Variables
| From: | eagleies at hotmail dot com | Date: | Wed, 13 Dec 2000 01:53:55 +0000 |
| Subject: | note 10092 added to Variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8664@lists.php.net to get a copy of this message | ||
Ok, Ladies and Gentlemen, a question/problem.
In the following statement,
<?php
If ($submit) {
... more script ...
I get this warning when I use the above script --- Warning: Undefined variable: submit in a4.php on
line 11---
How can I define the variable, but not change the purpose of the scipt that it is used.
If you can help me with this, I would appreciate it. I am just entering the World of PHP and
MySQL.. Thanks..
EagleEyes
http://www.php.net/manual/language.variables.php