> I tried adding a period to the end but a string will a period still
> returns
> false
> 
> function is_alphanumeric($string)
> {
>       return (preg_match("/^[A-Za-z0-9.]+$/i", $string));
> }

No it doesn't. It's not allowing spaces, though... Is that the problem?

---John W. Holmes...

Amazon Wishlist: http://www.amazon.com/o/registry/3BEXC84AB3A5E

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to