Warning: Attempt to read property "id" on null in /home2/gabin589/public_html/trabalhos.php on line 14

Warning: Attempt to read property "id" on null in /home2/gabin589/public_html/trabalhos.php on line 15

Fatal error: Uncaught mysqli_sql_exception: 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 in /home2/gabin589/public_html/trabalhos.php:15 Stack trace: #0 /home2/gabin589/public_html/trabalhos.php(15): mysqli->query('SELECT COUNT(1)...') #1 {main} thrown in /home2/gabin589/public_html/trabalhos.php on line 15