Detecing a Number
| From: | Stephen | Date: | Wed, 04 Dec 2002 21:01:17 +0000 |
| Subject: | Detecing a Number | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-127034@lists.php.net to get a copy of this message | ||
I have a repeating function to add. The user enters the number of how many
numbers they want to add, then it repeats a form field. What I want to do is
detect to make sure that the value they enter is a number. If not, don't do
the do while loop and if it is, then go ahead and do it. How can I do this?
Thanks,
Stephen Craton
http://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchior.us