note 40628 added to function.is-numeric
| From: | digitok at hotmail dot com | Date: | Wed, 10 Mar 2004 06:18:54 +0000 |
| Subject: | note 40628 added to function.is-numeric | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-66526@lists.php.net to get a copy of this message | ||
Just in response to the previous post, a user is highly unlikely to accidently insert a letter in a
numeric field, as the numbers are completely sepereated from the letters on the keyboard.
Besides, it's always better to check for errors, and request that they re-enter the number,
rather than taking it upon yourself to guess what they meant to enter.
Thanks :)
----
Manual Page -- http://www.php.net/manual/en/function.is-numeric.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40628
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40628&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40628&report=yes
Search -- http://master.php.net/manage/user-notes.php