Here is the code where I am recieving my error.
do_createtable.php
The error I get is:
You have an error in your SQL syntax near ')' at line 1
Obviously, my code is dying. What it should be doing is adding a table to "testDB". I use a form page where I enter in the field name, the field type, the field length, and whether it is a primary key and/or auto increment. Then I click the submit button where it should create my table no problem. I get this error instead.
If anyone could point me in the right direction, that would be great.
Thanks.