Re: RE: [PHP] Validating form field text input to be a specific variable type

From: Date: Wed, 07 Apr 2004 02:02:48 +0000
Subject: Re: RE: [PHP] Validating form field text input to be a specific variable type
Groups: php.general 
Request: Send a blank email to php-general+get-182584@lists.php.net to get a copy of this message
> From: "Merritt, Dave" <Dave.Merritt@ArvinMeritor.com> > > Okay seems to makes sense, but when I do the following it doesn't appear to > be working correctly, or I'm viewing my logic incorrectly one: > > if ( (int)$PageOptions['Default'] == $PageOptions['Default'] ) { This works: if(strcmp((int)$PageOptions['Default'],$PageOptions['Default'])==0) ---John Holmes...

« previous php.general (#182584) next »