Re: An integer?

From: Date: Mon, 21 Aug 2000 06:17:55 +0000
Subject: Re: An integer?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12717@lists.php.net to get a copy of this message
> you could try this: > > $int_var = (int)$your_form_variable; > > $int_var now has no choice but to be an integer. But this is exactly my problem, I can force it to be an integer, but I need to see if that force is invalid instead of just ending up with 0 like I do. Shaun

« previous php.general (#12717) next »