I still dont get where you are suggesting to put the debug code?
Sorry I am new to this (School project)
I put it at the top of the code, and it says this now:
Warning: mysql_pconnect(): MySQL server has gone away in C:\xampp\htdocs\dramadatabase\Connections\drama_database.php on line 9
Notice: Undefined variable: insertSQL in C:\xampp\htdocs\dramadatabase\costumeadd.php on line 2
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 'condition, image, notes, location, code) VALUES ('asd', 'asd', '-- Select Type -' at line 1