Da Warriah
07-22-2003, 06:59 PM
GGGGGGAAAAAAAAAAAAAHHHHHHHHHH!!!!!!! I HATE THESE STUPID FORMS!!:mad:
there...now that thats out...i have been staring at this code for over an hour, trying a million different things to figure out why it wont work...
i have three input fields in order for the user to change their password if they so desire...however, its optional, and im trying to find a way to determine if the fields are empty or not (to determine whether to change the password or leave it alone)...
the thing is that no matter whether the fields are empty or not, they still return a value back...and even this wont work for some reason:
elseif((!isset($orig) || $orig == "") && (!isset($pw) || $pw == "") && (!isset($pw2) || $pw2 == "")){
can ANYone help me with this? have i suddenly gone insane? YES!! and with good reason...all i need to do is figure out whether those fields are empty or not...
edit: alright ive calmed down a bit now, and ive vowed never to look at that code again until i get a response here...lol...otherwise ill go insane again...;)
there...now that thats out...i have been staring at this code for over an hour, trying a million different things to figure out why it wont work...
i have three input fields in order for the user to change their password if they so desire...however, its optional, and im trying to find a way to determine if the fields are empty or not (to determine whether to change the password or leave it alone)...
the thing is that no matter whether the fields are empty or not, they still return a value back...and even this wont work for some reason:
elseif((!isset($orig) || $orig == "") && (!isset($pw) || $pw == "") && (!isset($pw2) || $pw2 == "")){
can ANYone help me with this? have i suddenly gone insane? YES!! and with good reason...all i need to do is figure out whether those fields are empty or not...
edit: alright ive calmed down a bit now, and ive vowed never to look at that code again until i get a response here...lol...otherwise ill go insane again...;)