I've this search where each result takes 1 row. Now i want 3 results to take one row and if there's more than 3 results , 2nd row is created and so on. Please help
$Counter = 0; for (result condition) { $Counter++; if ($Counter < 3) { // Same row } else { // Create new row $Counter = 0; } }
Hey kid, don't crosspost.