PDA


View Full Version : Conditional for specific link category


BWJ
08-03-2008, 08:25 PM
I would like to show (outside the link section) either:

A) an image button (e.g. green) that shows that there are a least 1 link (new or old) in a specific link category

else

B) an image button (e.g. red) that shows that there are no links in a specific link category.

If we take vbadvanced's own Main category (id = 6) and hyperlink: http://www.vbadvanced.com/links/browselinks.php?c=6

What would be the exact code to accomplish this?