Warning: Undefined array key "cid" in /home/sites/dgtaylor.co.uk/public_html/vehicles/pdf/file.php on line 3

Fatal error: Uncaught mysqli_sql_exception: 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/sites/dgtaylor.co.uk/public_html/assets/php/images.php:18 Stack trace: #0 /home/sites/dgtaylor.co.uk/public_html/assets/php/images.php(18): mysqli_query(Object(mysqli), 'SELECT * FROM i...') #1 /home/sites/dgtaylor.co.uk/public_html/vehicles/pdf/file.php(5): include('/home/sites/dgt...') #2 {main} thrown in /home/sites/dgtaylor.co.uk/public_html/assets/php/images.php on line 18