I want to create a repeat region that displays 3 columns and 2 rows, so a total of 6 items from a record in a mysql database. The code i have below just repeats vertically in a single column. Can anyone pleae help? $db->query($count); $db->next_record(); $num_rows = $db->f("num_rows"); Cheers Jas