klmklm Posted June 27, 2003 Posted June 27, 2003 I have installed the blue theme from hte http://www.dcpcwebdevelopment.co.uk, every thing is OK apart from the right colum, in which I had the following error message: Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/arabicst/public_html/demo/includes/column_right.php on line 22. Column_right.php lines 19 to 22 reads: if ($HTTP_GET_VARS['products_id']) { if (session_is_registered('customer_id')) { $check_query = tep_db_query('select count(*) as count from ' . TABLE_CUSTOMERS_INFO . ' where customers_info_id = '' . $customer_id . '' and global_product_notifications = '1''); Any help please :roll:
Wizzud Posted June 27, 2003 Posted June 27, 2003 You need to escape the quotes that you want to be part of the actual query, eg. if ($HTTP_GET_VARS['products_id']) { if (session_is_registered('customer_id')) { $check_query = tep_db_query('select count(*) as count from ' . TABLE_CUSTOMERS_INFO . ' where customers_info_id = '' . $customer_id . '' and global_product_notifications = '1''); Regards, Wizzud "It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt."
Recommended Posts
Archived
This topic is now archived and is closed to further replies.