Re: verifying that a dropdown was selected
| From: | Tom Gitzinger | Date: | Thu, 05 Jul 2001 10:05:28 +0000 |
| Subject: | Re: verifying that a dropdown was selected | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56285@lists.php.net to get a copy of this message | ||
Hello Richard,
I'm not quite sure but I think the problem is the following:
- If no month has been specified, the variable $month is not defined.
- If you then mention $month in
if ($month == "")
the Parser creates the variable. Its value is unpredictable, but it is
most unlikely that
it is an empty string ("").
To solve the problem, you should be able to check whether the variable
$month exists. I'm sorry I can't help you here because I've only started
programming PHP but reading the function reference or something might help you.
Good luck
Tom
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
GMX Tipp:
Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a