Parse error: syntax error, unexpected T_ELSEIF in /login-exec.php on line 63
the entire IF.. where it stop's it.
i can't seem to find the glitch. but this is my first time dealing with ELSEIF
about this IF .. there are only 3 possible outcomes what this IF has to check. yes, no or blank = ""
for a ban feature
its simple. if STATUS = YES, your banned
if no. your not.
if its empty. go to verify page (basic note, this account has not been verified.. bla bla bla) *hope it helps.
note* i tryed with 1 =, and 2 ==, same error.
i tried with qouates " and ' no difference
You forgot the curly braces for each of those internal if/elseif/else blocks.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
*probly as NogDog suggested, he is a great help allways
PHP Code:
//Check whether the query was successful or not if($result) { if(mysql_num_rows($result) == 1) { //Login Successful session_regenerate_id(); $member = mysql_fetch_assoc($result);
Bookmarks