Re: evaluate data taken from db
| From: | Richard Lynch | Date: | Sun, 12 Aug 2001 21:00:45 +0000 |
| Subject: | Re: evaluate data taken from db | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62340@lists.php.net to get a copy of this message | ||
> $cat="select * FROM categories c WHERE c.type='Earmold'";
> $cats=mysql_query($cat);
> while ($row = mysql_fetch_array($cats)) {
> extract($row);
if ($id == $cid){
echo $name;
}
else{
> 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
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm