Re: What's wrong w/ this line?
| From: | Jason Wong | Date: | Tue, 26 Feb 2002 06:56:23 +0000 |
| Subject: | Re: What's wrong w/ this line? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86197@lists.php.net to get a copy of this message | ||
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.
*/