I'm getting the error stating that
Error inserting RecordYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''arcade',123)' at line 1"
if (isset($_POST['name'])) {
//code to insert new record into DB
$insQuery = "insert into inventory values(NULL,"
."'". $_POST['name'] ."',"
. $_POST['price'] .","
. $_POST['rating'] .","
. $_POST['console'] .","
."'". $_POST['genre'] ."',"
. $_POST['quantity'] .")";