darkink Posted June 16, 2009 Posted June 16, 2009 This is a link to one of my products. when you click on it the link trys to go to product_info.php?products_id=1030 There is no product 1030! how can this happen when my link says to go to 103 ? <a href="<?php echo tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=103' . (int)$_GET['products_id'],NONSSL,false); ?>" />BUTTON</a>
burt Posted June 16, 2009 Posted June 16, 2009 "how can this happen when my link says to go to 103" It does not say to go to product 103. It says go to product 1030 The 0 on the end is the (non)value of (int)$_GET['products_id'] So remove this: . (int)$_GET['products_id']
Recommended Posts
Archived
This topic is now archived and is closed to further replies.