esostigma Posted May 11, 2007 Share Posted May 11, 2007 can someone break down exactly what this means for me: while ($row = getrow($result)) { $highest = 0; foreach ($row as $value) { $value = trim($value); $transnum = substr($value, (strlen($value) - 5)); if( $highest < $transnum ) $highest = $transnum; } } Quote Link to comment https://forums.phpfreaks.com/topic/50997-php-break-down-numero-two-oh/ Share on other sites More sharing options...
ToonMariner Posted May 11, 2007 Share Posted May 11, 2007 all that will simply deliver the highest value of the last row of data collected from the database (providing getrow() is a valid function). Quote Link to comment https://forums.phpfreaks.com/topic/50997-php-break-down-numero-two-oh/#findComment-250940 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.