|
Posted by Gordon Burditt on 11/07/06 23:46
>Not using register_globals but wish I had noticed your post earlier
>regarding the form validation issue. I assumed isset meant that it checked
>to see if it is actually set to something (had a value), not that it merely
>existed. Oh well.. it's all good learning.
A zero-length string is a real value. Whether or not you consider
it to be an error, an unspecified value, or an explicitly specified
value (the value when displaying the form might NOT be an empty
string, it might be 'No Middle Initial' or the original value from
the database record you're editing) depends on the variable,
what it means, and the application.
Navigation:
[Reply to this message]
|