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 ([EMAIL PROTECTED]) 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!


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to