Re: Validation of Numeric string sent in a form

From: Date: Fri, 21 Mar 2003 02:55:11 +0000
Subject: Re: Validation of Numeric string sent in a form
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-140531@lists.php.net to get a copy of this message
Hello, On 03/20/2003 10:32 PM, Orlando pozo wrote:
How could I verify if a variable is a "Numeric string"? , I need help in this; for example when I submit a form, all texts fields are sent in strings, if you need to verify that the string is all numeric, How could I verify?, thanks for your help.
You may want to try this forms generation and validation class that provides several validation methods, including integer validation as you want. It may generate Javascript code to validate your fields before letting the form be submitted and can also validate on server side. http://www.phpclasses.org/formsgeneration -- Regards, Manuel Lemos

« previous php.general (#140531) next »