i have a table with data that i am trying to display with 4 td's and then create a new row. i will eventually set the row limit, but for now this is what i have:
SELECT *
FROM item
WHERE item_type_id = 1
ORDER BY item_name
Click on any picture to see a larger view.

#item_name#
#item_description#
but...it isn't quite working. i have only 5 items in the db right now. the first row is writing to the page correctly, but it starts repeating rather oddly after that...like this (numbered to make it easy to see what is happening):
1 2 3 4
2 3 4 5
3 4 5
4 5
5
Any help in solving this would be greatly appreciated!