A Database Error Occurred
Error Number: 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 `ci_tours_product`.`tpr_position` ASC' at line 4
SELECT *
FROM (`ci_tours_product`)
WHERE `ci_tours_product`.`tpr_tca_id` =
ORDER BY `ci_tours_product`.`tpr_position` ASC
Filename: /home/www/virtual/phuketonedaytrip.com/phuketdaytour_com/htdocs/models/tours_product_model.php
Line Number: 18