Nick, I believe you need a space between 'else' and 'if'. Should be two separate words. If that doesn't work, please send more of the code.
Regards, Jason Cox ----- Original Message ----- From: "Nick Richardson" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Monday, February 25, 2002 11:04 PM Subject: [PHP] What's wrong w/ this line? > PHP seems to be completly ignoring this line... > > Funny part is that i use this same line in another place in my code and it > works fine there... i have no clue - Need coffee. > > } elseif(!(preg_match("/^[A-Za-z0-9-]+$/",$uname))) { > > //Nick Richardson > [EMAIL PROTECTED] > [EMAIL PROTECTED] > -------------------------------------------------------------- > -- We must come to see that the end we seek, is a society -- > -- at peace with itself. A society that can live with its -- > -- concience. That will be a day not of the white man, not -- > -- of the black man... That will be the day of man, as man! -- > -- -Dr. Martin Luther King Jr. -- > -- -March 25th, 1965 -- > -------------------------------------------------------------- > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php