Re: count up from 7

From: Date: Tue, 25 Mar 2003 00:25:39 +0000
Subject: Re: count up from 7
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-140907@lists.php.net to get a copy of this message
Huh? Not really following what you want to achieve, but: <? $n = 9; $floor = 7; if($n > $floor) { $diff = $n - $floor; //eg 2 // no idea what you want to do from here } ?> on 25/03/03 10:58 AM, Richard Whitney (rw@xend.net) wrote: > Braindead! > > I need to evaluate a number if greater than 7 and add a value per increment. > I'm frazzled and can't think straight. > > Thanks Guys!

« previous php.general (#140907) next »