RE: [PHP] FILTER_VALIDATE_INT - newbie question

From: Date: Wed, 07 Oct 2009 10:24:25 +0000
Subject: RE: [PHP] FILTER_VALIDATE_INT - newbie question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-298716@lists.php.net to get a copy of this message
[sic] > Before your e-mail, I've considering the use of this: > if (!is_numeric($telefone)) > { > $erros['numberofsomething'] = 'Error - only numbers please.'; > } I meant this of course: if (!is_numeric($numberofsomething)) { $erros['numberofsomething'] = 'Error - only numbers please.'; }

« previous php.general (#298716) next »