RE: [PHP] Checking for Valid Charactors.

2003-06-08 Thread John W. Holmes
> From: Jason Wong [mailto:[EMAIL PROTECTED] > > On Sunday 08 June 2003 16:22, Philip J. Newman wrote: > > 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"; >

Re: [PHP] Checking for Valid Charactors.

2003-06-08 Thread Philip J. Newman
thanks - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 08, 2003 8:57 PM Subject: Re: [PHP] Checking for Valid Charactors. > On Sunday 08 June 2003 16:22, Philip J. Newman wrote: > > I would liek to che

Re: [PHP] Checking for Valid Charactors.

2003-06-08 Thread Jason Wong
On Sunday 08 June 2003 16:22, Philip J. Newman wrote: > 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 ... eregi("^([0-9.])*$",