Help make the norms request. Mistake:

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 ''2история' (sol) VALUES ('3')' at line 1

 $name = "$inputName" . "$history"; mysql_query("INSERT INTO '$name' (sol) VALUES ('$inputValue')") or die(mysql_error()); 

    1 answer 1

    If I'm not mistaken, the table name cannot be written in quotes. Apostrophes are allowed. Try