|
|
Subject:
MySQL sql statement or php code to show current page in dynamic menu using DWMX
Category: Computers > Programming Asked by: toza-ga List Price: $15.00 |
Posted:
23 Jun 2004 05:47 PDT
Expires: 23 Jul 2004 05:47 PDT Question ID: 364997 |
Am using Dreamweaver MX 2004 to display a menu using the Repeated Region Server Behaviour based on a table called 'sections'. All works fine except I want to allow the current page menu item to be styled differently to the others - I want to do this using <div id = "uberlink"> within a set of <li> tags. (style sheet makes it all look nice - no tables used) When any these links is clicked a variable called 'id' is sent via url parameter to the next page (which is in fact the same php file. Eg., I click "Books" and this sends id = "Books" to the resulting page. I have a seperate recordset which picks up this value and displays stuff about books. No problem. What I need to be able to do is for the current page value to be included in a recordset that lists the menu items inserting "uberlink" into the relevant menu item, while leaving the others unaffected (NULL would be fine) Would prefer a SQL statement possibly combined with a second table called Style, but if it is far simpler to use php that would be ok (Feel I have more control over sql than php ) Many thanks |
|
There is no answer at this time. |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |