I am trying to add info I collect to my database. I was able to add all the int
elements but i can't add "enonce" that is a varchar
it give me this error:
Unknown column '(the text)' in 'field list'
html code
<form><input type="text" name="noquestion" placeholder="Enter no question "/></form>
php code
$enonce= $_POST["enonce"] ;
$sql=' INSERT INTO question (noquestion,enonce,niveau,idlangage,idadmin) VALUES ('.$noquestion.','.$enonce.',' .$niveau.','.$idlangage.','.$idadmin.')';