yanarasod Posted May 23, 2006 Posted May 23, 2006 <?php echo '<p><a href="' . tep_href_link('product_info.php', 'cPath=1&products_id=1') . '"><img src="images/graphic.jpg" alt="Graphic" name="graphic_name" width="66" height="100" border="0" id="graphic_name"></a></p>'; ?> well, i found this in the knowledge base, but i want it sligtly different i.e. instead of linking to indivdual product i want to link to individual category, with text as link. i have tried it but am not sure is it right can anybody confirm or edit it: <?php echo '<a href="' . tep_href_link('index.php', 'cPath=1&products_id=1') . '">' . 'HEADER_TITLE_LOGOFF' . '</a>'; ?> but i am worried about the text in bold there 1. should the "&" be "&" 2. it should be linked to category
yanarasod Posted May 23, 2006 Author Posted May 23, 2006 ok, guys i did it, but have another question , is it neceesary to startit with a href or can it be done by php echo itself, bcoz, i see that all the text info comes right from english.php , so will it be wrong under any case
Recommended Posts
Archived
This topic is now archived and is closed to further replies.