YVES SUCAET wrote:
> Nope, it's not. The problem was formulated as "Integer" detection. not
> numerical detection in general.
this must be able via preg_match
(http://de3.php.net/manual/en/function.preg-match.php)
using the regular expression /[1-9]/ possible [0] in addition.
Regards,
Ruprech
for e.g.
> floating
> point values as well. The solutions described in this thread all result in
> integer-only values.
>
> All solutions presented are still off-topic, of course...
>
> Yves
>
> -- Original Message ------
> Received: Mon, 12 May 2008 11:12:02 AM CD
l off-topic, of course...
Yves
-- Original Message --
Received: Mon, 12 May 2008 11:12:02 AM CDT
From: "Thiago Pojda" <[EMAIL PROTECTED]>
To: "'sahabettin akca'" <[EMAIL PROTECTED]>,
Subject: RES: [PHP-DB] input field validation
It'd be simpl
It'd be simpler to use isNaN()
Thiago Henrique Pojda
Desenvolvimento Web
+55 41 3033-7676
[EMAIL PROTECTED]
ExcelĂȘncia em Softwares Financeiros
-Mensagem original-
De: sahabettin akca [mailto:[EMAIL PROTECTED]
Enviada em: domingo, 11 de maio de 2008 14:31
Para: php-db@lists.php.net
As