Page 1 of 1

Dynamic PHP tree menu related with database

Posted: Sun Sep 24, 2006 12:02 pm
by dalamtinka
I'm new in PHP so I have question.
I have to make half static, half dynamic PHP tree menu. So how can I get data from database (names of hotels that will be dynamic PHP links and put it into the third level in menu).

For example I have 3 levels of links.
First level Accomodation, then second level Hotels and third level I want to be names of hotels which I have in database (for example, hotel1, hotel2, hotel3) and those have to be dynamic links which will give me detailed view for each hotel when I click on hotel I want to see.

Please help, it's very important to me to do this as soon as I can!!!

Thank you!

Posted: Sun Sep 24, 2006 12:52 pm
by feyd
Likely the answer would be fairly code specific, so if you would post your code, we may be able to better guide to toward an answer.