checking a string for numbers

From: Date: Thu, 26 Jun 2003 11:04:39 +0000
Subject: checking a string for numbers
Groups: php.db 
Request: Send a blank email to php-db+get-28892@lists.php.net to get a copy of this message
Hi, I'm trying to find a way of simply checking a string for numbers. e.g. if ($myVar contains a number) { //numbers present } else { //no numbers present } Thanks, -- Jamie Saunders Media Architect phpdev@mediacdcards.net

« previous php.db (#28892) next »