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; } } 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). 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
Archived
This topic is now archived and is closed to further replies.