Thanks for the reply as always. I think I found the code that chooses which grids? I am not familiar with PHP, any ideas how to modifiy this?
[code]$sql = “SELECT *, MAX(order_date) as max_date, sum(quantity) AS pixels FROM orders where status=’completed’ AND banner_id=’$BID’ GROUP BY user_id, banner_id order by pixels desc “;
$result = mysql_query($sql) or die(mysql_error());[/code]