RE: [PHP] ctype_digit

From: Date: Thu, 15 May 2003 20:05:21 +0000
Subject: RE: [PHP] ctype_digit
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-147782@lists.php.net to get a copy of this message
Hi, You'll need to compile PHP with the ctype functions enabled. I don't know how to do this personally, I run 4.3.1 and it was automatic, check www.php.net. -Dan Joseph > -----Original Message----- > From: Ryan A [mailto:ryan@jumac.com] > Sent: Thursday, May 15, 2003 4:04 PM > To: php-general@lists.php.net > Subject: [PHP] ctype_digit > > > Hi all, > this: > if (!ctype_digit($price)) > {echo 'Error:<b>Price</b> can contain numbers only. Please go > back and make > the necessary changes'; > exit; > } > > > > is throwing me an error > > "Call to undefined function: ctype_digit() in > c:\phpdev\www......on line 24" > > any idea why? > > Cheers, > -Ryan > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#147782) next »