Re: Validating input

From: Date: Fri, 28 Jan 2005 20:09:04 +0000
Subject: Re: Validating input
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-207631@lists.php.net to get a copy of this message
Ed Curtis wrote / napísal (a):
I've been looking at the docs and found preg_match and preg_match_all but these functions only seem to match 1 specific search item. I want to make sure a variable (say $mlsnumber) contains only numbers and no spaces. What would I use to accomplish this? Thanks Ed whatabout trim? left or right?
trobi

« previous php.general (#207631) next »