quadrant6
01-27-2005, 05:27 AM
First off, I have 2 simple tables:
region
region_id
region_name
item
item_id
region_id
item_name
I wish to list on my page all regions with items belonging to each region displayed underneath. To complicate, If a region has no items then it should still be listed.
I have pissed around and can't get it to work if a region contains no items. Can anyone offer some insight on the PHP/SQL needed to achieve this?
region
region_id
region_name
item
item_id
region_id
item_name
I wish to list on my page all regions with items belonging to each region displayed underneath. To complicate, If a region has no items then it should still be listed.
I have pissed around and can't get it to work if a region contains no items. Can anyone offer some insight on the PHP/SQL needed to achieve this?