Checking for Valid Charactors.

From: Date: Sun, 08 Jun 2003 08:22:45 +0000
Subject: Checking for Valid Charactors.
Groups: php.general 
Request: Send a blank email to php-general+get-150654@lists.php.net to get a copy of this message
I would liek to check for 0-9 and . charactors i'm using ... $email = "60.00"; if eregi("^[0-9.])?$",$email) { echo"valid"; } else { echo"not valid"; } Its not working well. umm ... help ...

« previous php.general (#150654) next »