Hi
I am new to php and have inherited some code to change. At the moment I have a page that has an icon and then some php that generates text that is a link to filter a list. I now need to remove the text and make the icon the link. Any ideas how this would be done?
Here is the current code snippet:
<?php
$logo_size = array(18, 17);
$logo_image = "";
echo $html->image('icons/new.png', array(
'alt'=>'New Product Icon',
'width'=>$logo_size[0],
'height'=>$logo_size[1],
'border'=>'0',
'class'=>'ProductLogo'));
$queryString_newproducts = str_replace("data[Product][check_1]=&", "data[Product][check_1]=1&", $queryString);
echo $paginator->sort(' New Product', 'product', array('url'=>array('?'=>$queryString_newproducts)));
?>
Any help would be greatly appreciated.