HITMAN1972 Posted November 12, 2004 Posted November 12, 2004 WHAT DOES THIS MEAN? I CAN'T GET PRICE BREAK TO WORK. WHAT IS THE FIRST INSTANCE? Find the first instance of the following code and delete: $specials_query = tep_db_query("select specials_new_products_price from " . TABLE_SPECIALS . " where products_id = '" . (int)$prid . "' and status = '1'"); if (tep_db_num_rows ($specials_query)) { $specials = tep_db_fetch_array($specials_query); $products_price = $specials['specials_new_products_price']; }
Guest Posted November 12, 2004 Posted November 12, 2004 First instance means the first time it occurs. It suggests that the code you are looking for occurs more than once in the file, but, you are only supposed to change the first one. Go to the top of the file in your editor, search for the code, change it, don't change any subsequent versions further down in the file. ed
zenmaster Posted November 12, 2004 Posted November 12, 2004 I would also suggest that you do not delete it - just comment it out. Just put "/*" at the start and "*/" at the end (without the quotes). That way it is easily repaired if you need to change it back. There are 10 types of people in the world. Those who understand binary and those who do not. To understand Recursion, first one must understand Recursion.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.