[eluser]luster[/eluser]
Thanks for responding, but this does not work. As soon as the insert command runs HTML for the error is generated and code execution does not continue.
Here is the HTML error that is generated:
---------------------------------------------------------
A Database Error Occurred
Error Number: 1054
Unknown column 'list_name' in 'field list'
INSERT INTO `questions` (`name`, `type`, `header1`, `list_name`) VALUES ('Q1', 2, '', 'Q1list')
Filename: C:\wamp\www\codeigniter\system\database\DB_driver.php
Line Number: 330
---------------------------------------------------------
But I'd like to catch this and handle it.
Any ideas?