evaluate data taken from db

From: Date: Thu, 09 Aug 2001 23:27:34 +0000
Subject: evaluate data taken from db
Groups: php.general 
Request: Send a blank email to php-general+get-62095@lists.php.net to get a copy of this message
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

« previous php.general (#62095) next »