Re: [PHP-DB] Database update problem

2001-04-15 Thread Martin Skjöldebrand
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]

[PHP-DB] Database update problem

2001-04-15 Thread Martin Skjöldebrand
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