HI there,
I have a basic question related with a FIELD modified, well I have a program to edit some previous record created, this field has a <SELECT> option that is filled out when the program is called, my problem is related with the UPDATE time, my program is taking the first value from the <SELECT> and updated my database, I don't want that, just the field should be pupulated only if a selection has been made, who can I validate if the <SELECT> has been cliked???
Rig
Basic question!
Moderator: General Moderators
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: Basic question!
Code: Select all
if(!empty($_POST['select_name']))mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.