[thelist] [php] Dumb form question

rudy r937 at interlog.com
Fri Nov 29 21:50:03 CST 2002


> Is there any difference in pulling values out of a select form element
> than an input from element?

absolutely

with a select element, the form user has limited choices, and you can be
sure that the submitted value is one of the given options

with an input element, assuming you meant a text element, the form user can
type any old thing, and you don't know what you'll get, so you have to
validate it

with an input radio or checkbox element, it might not even be submitted

is that what you were hoping to hear?

rudy




More information about the thelist mailing list