vishnu Posted July 24, 2008 Share Posted July 24, 2008 Hi, I have an error the following lines please help me. 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 'select o.orders_id, o.orders_status, o.date_purchased, o.delivery_name, ot.text ' at line 1 select count(select o.orders_id, o.orders_status, o.date_purchased, o.delivery_name, ot.text as order_total, s.orders_status_name from orders o left join orders_total ot on (o.orders_id = ot.orders_id) left join orders_status s on (o.orders_status = s.orders_status_id and s.language_id = \'1\') where o.customers_id = \'2\' and ot.class = \'ot_total\' order by orders_id DESC) as total [TEP STOP] please reply me. Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 24, 2008 Share Posted July 24, 2008 These slashes shouldn't be in the code language_id = \'1\') where o.customers_id = \'2\' and ot.class = \'ot_total\' Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.