Apr 19, 2003 #1 solex Programmer Joined Feb 28, 2003 Messages 91 Location GB how can i check that a Variable only contains interger numbers, also no spaces just 0-9? thnx SOLEX
Apr 19, 2003 #2 sleipnir214 Programmer Joined May 6, 2002 Messages 15,350 Location US I'd use is_int() (http://www.php.net/manual/en/function.is-int.php) Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL! Upvote 0 Downvote
I'd use is_int() (http://www.php.net/manual/en/function.is-int.php) Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!
Apr 20, 2003 Thread starter #3 solex Programmer Joined Feb 28, 2003 Messages 91 Location GB thnx, thats it! Upvote 0 Downvote