SELECT `standID`,`standID` FROM `mx_match_package_ticket` WHERE status='1' AND packageID = ORDER BY standID
SELECT `standID`,`standID` FROM `mx_match_package_ticket` WHERE status='1' AND packageID = ORDER BY standID
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 standID' at line 1