PDO::execute() failed: SQLSTATE[42000]: Syntax error or access violation: 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 1.
Query: SELECT * FROM post WHERE id=, params: Array ( )
First caller: get_post in /home/lovecpokladu/public_html/php_html_outputs.php line 1617
Second caller: mysql_query_port in /home/lovecpokladu/public_html/php_db_functions.php line 1405
Third caller: exec in /home/lovecpokladu/public_html/php_db.php line 166