Hello, I need help with this. If in my form i put this,
<td><input type="text" name"Example" id="Example"></td>
and my sql what would i put? Mine is,
$insertQuery = "ALTER TABLE atable ADD column '$example' INT";
this is the error shown, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''' INT' at line 1. I tried many ways but cannot put in the correct syntax. Please help, Thanks.