Warning: Undefined variable $id in /home/qyachtco/public_html/app/views/boat-details.php on line 14
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 MariaDB server version for the right syntax to use near '' at line 1 in /home/qyachtco/public_html/app/core/functions.php:240
Stack trace:
#0 /home/qyachtco/public_html/app/core/functions.php(240): PDOStatement->execute()
#1 /home/qyachtco/public_html/app/views/boat-details.php(14): select_by_id('boats', NULL)
#2 /home/qyachtco/public_html/router.php(64): include_once('/home/qyachtco/...')
#3 /home/qyachtco/public_html/router.php(4): route('/boat-details', 'app/views/boat-...')
#4 /home/qyachtco/public_html/index.php(29): get('/boat-details', 'app/views/boat-...')
#5 {main}
thrown in /home/qyachtco/public_html/app/core/functions.php on line 240