Page 1 of 1

Basic question!

Posted: Tue Jun 22, 2010 10:37 am
by RIGOLETO
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

Re: Basic question!

Posted: Tue Jun 22, 2010 12:12 pm
by AbraCadaver

Code: Select all

if(!empty($_POST['select_name']))