Re: Ensuring that variable contains a number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/12/06, Melanie Maddix <melanie.maddix@xxxxxxxxxxxxxx> wrote:
[snip]
How can I ensure that a variable contains a postive integer number?
[/snip]

Hi Dotan,

Check the php manual for is_int() and is_numeric().


Thanks, Melanie. I completely forget- I already knew about those
functions! That's what happens when one scripts in a language
with 3000+ built-in functions... :)

Dotan Cohen

http://lyricslist.com/
http://what-is-what.com/what_is/bios.html

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux