Hi all,
I am a newbie in PHP, so i mught sound a bit stupid hope you guys dont mind.
I have a form with some checkbox,radio button and textfield,
Whenever a checkbox or radio button is untick or no value, i will get
Notice: Undefined index: gender in c:\script.php on line 17
but whenever i tick it the notice will be gone.
whereas for textfield, even if it is left empty no Notice will be shown.
Thanks for any help, sorry for any inconvenience.
Always show Notice: Undefined index:?
Moderator: General Moderators
Thank you
It works but there is another question here, (sorry for me asking too much)
How come for textfield there isn't such notice even if left blank?
Sometimes when i read up some forum post i saw that values from a form passed to a php file can be hidden.
What go they mean by hidden values, is it for security?
Thanks for any help.
How come for textfield there isn't such notice even if left blank?
Sometimes when i read up some forum post i saw that values from a form passed to a php file can be hidden.
What go they mean by hidden values, is it for security?
Thanks for any help.