I have a dynamic menu on my site where data is taken from a mysql db.

$cat="select * FROM categories c WHERE c.type='Earmold'";
while ($row = mysql_fetch_array($cats)) {
echo "<a class=subnavlink href=\"?cid=$id&page=1\">$name</a> ";

What I would like to do is turn off the link if the link is active in the
browser. So if the url loaded in the browser is
http://www.xyz.com/product.php?cid=1&page=1 for example, the link to that
particular item is disabled in the menu.

Is something like this possible? Any help is appreciated!


Jason Dulberg
Extreme MTB

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to