DB 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 'OR id =' at line 1 with query: SELECT * FROM tb_movies as movies WHERE version_for_id = OR id = trace:Array ( [0] => setup.php at line 2 [1] => setup.php at line 2 [2] => setup.php at line 92 [3] => setup.php at line 92 [4] => movie_show.php at line 25 [5] => setup.php at line 55 [6] => setup.php at line 2 )