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'";
$cats=mysql_query($cat);
while ($row = mysql_fetch_array($cats)) {
extract($row);
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!

Thanks.

__________________
Jason Dulberg
Extreme MTB
http://extreme.nas.net


-- 
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