General Error


SQL Error : 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 'ORDER BY st.`sort_id`' at line 8

SELECT pl.`license_id`, pl.`price`, pl.`discounted_price` FROM `product_licenses` pl, `license_types` lt, `site_tree` st WHERE st.`id` = lt.`node_id` AND lt.`id` = pl.`license_id` AND pl.`product_id` = ORDER BY st.`sort_id`;

Line : 270
File : /home/mysqlmae/public_html/includes/product.php