Re: [PHP] Number validation again...

2004-07-30 Thread Jordi Canals
Andre wrote: Does exits any function in PHP to see if one string is compose for numbers. YES http://catb.org/~esr/faqs/smart-questions.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Number validation again...

2004-07-30 Thread Daniel Purdy
[snip] Does exits any function in PHP to see if one string is compose for numbers. And I have already searched in google before I asked here [/snip] The manual is your friend. http://www.php.net/strspn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

RE: [PHP] Number validation again...

2004-07-30 Thread Jay Blanchard
[snip] Does exits any function in PHP to see if one string is compose for numbers. And I have already searched in google before I asked here [/snip] http://www.php.net/is_numeric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Number validation

2004-07-30 Thread Angelo binc2
Nice one John, Come on guys, please read the manual or do some searching before posting. Cheers for now Angelo >>> John Nichel <[EMAIL PROTECTED]> 7/30/2004 4:07:33 PM >>> Andre wrote: > Hello > I need one script in PHP to validate only numbers inserted from a form. > For example like a teleph

[PHP] Number validation again...

2004-07-30 Thread Andre
Hello again Does exits any function in PHP to see if one string is compose for numbers. And I have already searched in google before I asked here Thanks again André Caridade

Re: [PHP] Number validation

2004-07-30 Thread John Nichel
Andre wrote: Hello I need one script in PHP to validate only numbers inserted from a form. For example like a telephone number. Thanks. Well, you could RTFM on regular expressions http://us4.php.net/preg_match Or you could STFW for how to match a phone number... http://www.google.com/search?h

Re: [PHP] Number validation

2004-07-30 Thread Jordi Canals
Andre wrote: Hello I need one script in PHP to validate only numbers inserted from a form. For example like a telephone number. Thanks. Well ... you can write it or if don't want to code ... perhaps searching the web could help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Number validation

2004-07-30 Thread Jay Blanchard
[snip] I need one script in PHP to validate only numbers inserted from a form. For example like a telephone number. [/snip] Did you want us to search Google for you? Or would you rather we write something? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Number validation

2004-07-30 Thread Andre
Hello I need one script in PHP to validate only numbers inserted from a form. For example like a telephone number. Thanks.