Warning: Undefined variable $sensorChipId in /home/darder/www/TestCapteurs/sensorTypesSelect.php on line 18

Fatal error: Uncaught PDOException: 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 in /home/darder/www/TestCapteurs/include.php:387 Stack trace: #0 /home/darder/www/TestCapteurs/include.php(387): PDO->query('select idType f...') #1 /home/darder/www/TestCapteurs/sensorTypesSelect.php(18): getSelectTypeForSensor(Object(PDO), NULL) #2 {main} thrown in /home/darder/www/TestCapteurs/include.php on line 387