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 '' at line 3

select package.id as package_id,package.package_title from package,package_watchlist where package.id=package_watchlist.package_id and package_watchlist.user_id=