Re: RES: [PHP-DB] input field validation
[email protected] (Ruprecht Helms)
| Newsgroups | php.db |
|---|---|
| Message-ID | <[email protected]> |
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,
Ruprecht Helms
-------------------------------------------------------------
Ruprecht Helms IT-Service & Softwaredevelopment
allow your worktools be individual
Web: http://www.rheyn.de