Hopefully you have learned what you need to know by now.
For others running across this post, the OP has pretty much done everything you could possibly do wrong in this code. Problems include using dangerous, obsolete mysql code that has been completely removed from PHP, depending in the name of a button for the script to work instead of checking the REQUEST METHOD, creating variables for nothing, not using prepared statements, putting variables in the query, missing closing table tag, giving a name to a TD tag and expecting it to work like an input tag and submit a value, using a table for non-tabular layout instead of CSS, using deprecated HTML...........
|