Hi all,
Let's say i have the following table structures:
table categories:
id int
parent int -- 0 for the main page
title text
descr text
table businesses:
id int
cat_id int
name text
descr text
And the data in the tables looks something like:
categories:
1, 0, 'Home'
2, 1, 'Shopping'
3, 1, 'Auto'
17, 3, 'Rentals'
18, 3, 'Repairs'
businesses:
351, 17, 'Cheap-a-rent'
345, 18, 'Ferrari Service Center'
What i want to know is how can i get the output to resemble this kind of layout. eg.
Auto
Rentals | Repairs ----> all are links.
Any ideas on the kind of script i will need?
Cheers,
wills