Ok I found I only code that has the error in your SQLsyntax; check the manual that corresponds to your MySQL server version for theright syntax to use near 'INSERT INTO `accomodation` (`uid`, `accomodation`,`subject`, `student_id`, `sta' at line 11 if you look down you’ll see the codethat says...