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 yacht_yacht.priority' at line 1

select yacht_yacht.board_id, board_name from yacht_yacht inner join yacht_country on yacht_yacht.board_id=yacht_country.board_id where (yacht_country.language_id=2) and (yacht_country.active=1) and (yacht_yacht.yacht_id=) order by yacht_yacht.priority

Line : 57
File : /home/dinatour/public_html/template/yacht_detail/index.php