brotherhood_of_LAN - 12:00 pm on Sep 16, 2012 (gmt 0)
Welcomes to the forums
desc is a reserved word [dev.mysql.com] in MySQL, so that will throw an error.
You can still use it but should enclose it in backticks. It's generally considered good practice to avoid naming columns as reserved words, or get in the habit of using backticks for all column names.
So this should work:
$query = "INSERT INTO requirement (`desc`) VALUES ('test1') ";