I am successfully using this code to display a brand logo
php $brand=$_product->getAttributeText('brand');
echo '
'_',$brand).'.jpg" alt="'.$brand.'">'
now what i need help with is making it a link as well
the problem is where as
My brands have capital letters as my attribute does so for example Brand Punch It Performance uses image Punch_It_performance.jpg
however the url for it is
/shop-by-brand/punch-it-performance.html
now forgive my newbieness to php here but i could really use some help modifying the above code snippet to function so when its clicked it goes to the proper page