Submitted by tigron on Tue, 10/04/2011 - 3:09pm
Thanks for taking time to reply and take a look. I hope this is what you needed.
if ($count > 0) {
$column = '1';
if (($count > $desired_rows ) && ($count <= ($desired_rows*2) ) {
$column = '2';
}
elseif ($count > ($desired_rows*2 ) {
$column = '3';
}
