AJRYAN Posted September 4, 2006 Share Posted September 4, 2006 Well, I've spent hours trying to figure this out and come up empty. Can someone Please help? I get the following error message when viewing product_info, and only when cookies are blocked. I am using Ultimate SEO URL's by Chemo, and it seems for some strange reason this is pulling in the product id and Session info as product ID. 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?Sid=f24055459f4351be82f75d93b71cde76' at line 1 select * from rebate_info where product_id = 80?Sid=f24055459f4351be82f75d93b71cde76 Here is some of the code: //Rebate, Special Price, Shipping Info $rebate_query = tep_db_query("select * from " . TABLE_REBATES . " where product_id = " . $_GET['products_id']); $rebate_information = tep_db_fetch_array($rebate_query); $rebate = $rebate_information[rebate_amount]; $rebate_expiration = $rebate_information[rebate_expires]; $rebate_type = $rebate_information[rebate_type]; I would be most obliged for any help. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.