Re: is_int with HTML FORM

From: Date: Fri, 30 Nov 2001 14:27:54 +0000
Subject: Re: is_int with HTML FORM
Groups: php.general 
Request: Send a blank email to php-general+get-76203@lists.php.net to get a copy of this message
$id = '10002'; //comes from form $defaultvalue = '13'; $id = intval($id); if (($id<1)||($id>9999)) $id = $defaultvalue; echo $id; Zliy Pes, http://zliypes.com.ua

« previous php.general (#76203) next »