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 'of-hire AND status='A'' at line 1 in /home/mikepatel/lightningmedia.co.uk/hire.php:50 Stack trace: #0 /home/mikepatel/lightningmedia.co.uk/hire.php(50): mysqli->query('SELECT * FROM h...') #1 {main} thrown in /home/mikepatel/lightningmedia.co.uk/hire.php on line 50