Simple, your form elements need to be named and not as an ID.
You have id="title"
yet it should be name="title"
(added to what you presently have)
You can use id="title"
, but just make sure you also include name="title"
- Do the same for the others
(A lookahead) => I also noticed you are using the word desc
be careful if you're using that in conjunction with a DB, as desc
is an MySQL reserved word, just saying.
An example:
The following will throw an error:
"INSERT INTO yourTable (desc) VALUES ('value')"
Correct method: (using the tick ` character around the column name)
"INSERT INTO yourTable (`desc`) VALUES ('value')"