On Tuesday 26 February 2002 14:04, Nick Richardson wrote: > 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))) {
Maybe you're using this within a function and haven't declared $uname to be global? -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* Being owned by someone used to be called slavery -- now it's called commitment. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php