note 16743 deleted from function.preg-match by jimw
| From: | jimw@php.net | Date: | Mon, 12 Nov 2001 03:16:56 +0000 |
| Subject: | note 16743 deleted from function.preg-match by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-20741@lists.php.net to get a copy of this message | ||
I think this is best of all (IF IT HAS NO BUGS)
****************************************
$markNumPosition = preg_match ("/[0-9]+/", $aFormVariable);
if ($markPosition == false)
{
echo "aFormVariable HAS NO NUMBERS";
}
else
{
echo "aFormVariable HAS NUMBERS";
}
*********************************
Khalid Al-Amri