Posted by Michael Fesser on 07/13/07 22:42
..oO(bill)
>Michael Fesser wrote:
>
>> Syntax is correct. I'm just wondering why the values for the ID and date
>> fields are quoted. If a value is numeric, don't quote it. So the parser
>> might be right and the index is just not defined?
>
>I hate that: The index *is* undefined the first time through !
If you know that an index will be undefined on the first run, then you
have to take care of that in your scripts and use a default value if
necessary. isset() exists.
Micha
[Back to original message]
|