Solved it.
M.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
This form is calling it's own page. I want to add a record to the sec_types
table. What happens is that it increments the type ID (passing '' to
auto_increment) but doesn't add the variable $txtSec_type. It prints the
text after the INSERT INTO statement.
Changing the variable to a direct value