The fields in the MySQL database are set to NOT NULL, which means that you can't insert a '' value into them. Try altering the script to insert a single space as in INSERT INTO table (field1, field2) VALUES (' ', ' ') and see if that works. If it does, then use TRIM() to retrieve the values from...