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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]