Error Unknown column in field list error on MySQL Update query
Enclose any string to be passed to the mysql server inside single quotes; e.g.: $name = "my name" $query = " INSERT INTO mytable VALUES ( 1 , '$name') "Note that although the query is enclosed between double quotes, you must enclose any string in single quotes. Hope it helps!
Answered Apr 23, 2021 · 1.3K Views Read answer →