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 'Callaghan') and o.orders_status > 1 and s.orders_s' at line 5
in:
[select o.orders_id, o.customers_id, o.date_purchased, s.orders_status_name, ot.text as order_total, ot.value from modchipfittersorders o left join modchipfittersorders_total ot on (o.orders_id = ot.orders_id), modchipfittersorders_status s where (o.customers_id = 2235 OR o.customers_email_address = '' OR o.customers_name like 'Sean O'Callaghan') and o.orders_status > 1 and s.orders_status_id = o.orders_status and o.date_purchased >= '20070414' and ot.class = 'ot_total']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Recover Cart Sales Report v2.00
Bookmarks