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 'and c.products_id=p.products_id and p.products_id >'487' and pd.products_id = p.' at line 1

select c.categories_id,cd.categories_name, p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image,p.products_image2, p.products_image3,p.products_image4,p.c_id,p.c_id2,p.c_id3,p.c_id4,p.c_id5,p.c_id6,p.c_id7,p.c_id8,p.cstatus1,p.cstatus2,p.cstatus3,p.cstatus4,p.cstatus5,p.cstatus6,p.cstatus6,p.cstatus7,p.cstatus8,p.size32,p.size34,p.size36,p.size38,p.size40,p.size42,p.m_id, pd.products_url, p.products_price,p.products_weight, p.products_dimension,p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from products p, products_description pd ,products_to_categories c,categories_description cd where p.products_status = '1' and c.categories_id= and c.products_id=p.products_id and p.products_id >'487' and pd.products_id = p.products_id and pd.language_id = '1' and c.categories_id=cd.categories_id ORDER BY p.products_id ASC LIMIT 1

[TEP STOP]