Re: [PHP] count up from 7

2003-03-25 Thread David T-G
Richard -- ...and then Richard Whitney said... % % Braindead! Hey, who are you callin' names?!? % % I need to evaluate a number if greater than 7 and add a value per increment. Greater than seven is easy. Adding a value is easy. Per increment can be a little tricky but we'll assume for the

Re: [PHP] count up from 7

2003-03-24 Thread Sebastian
not sure if this is what you're looking for: if ( $var > 7 ) { // do stuff } - cheers, Sebastian - Original Message - From: "Richard Whitney" <[EMAIL PROTECTED]> | Braindead! | | I need to evaluate a number if greater than 7 and add a value per increment. | I'm frazzled and can't thi

Re: [PHP] count up from 7

2003-03-24 Thread Justin French
Huh? Not really following what you want to achieve, but: $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 a

[PHP] count up from 7

2003-03-24 Thread Richard Whitney
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! -- Richard Whitney * Transcend Development Producing the next phase of your internet presence. [EMAIL PROTECTED] * http://xend.net* 602-971-2791