Justbeadsite - Stop here for beads & jewelry making
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 'EXPECTED_PRODUCTS_SORT
limit MAX_DISPLAY_UP
in:
[select p.products_id, pd.products_name, products_date_available as date_expected, p.master_categories_id
from aby_products p, aby_products_description pd
where p.products_id = pd.products_id
and p.products_status = 1
and pd.language_id = '1' and p.products_date_available >20120128235959 order by EXPECTED_PRODUCTS_FIELD EXPECTED_PRODUCTS_SORT
limit MAX_DISPLAY_UPCOMING_PRODUCTS]