Google Answers Logo
View Question
 
Q: MySQL sql statement or php code to show current page in dynamic menu using DWMX ( No Answer,   0 Comments )
Question  
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
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

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 Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy