This is probably a post better sent to the php-db list... but
Whenever you work with MySQL, it's good to retrieve the actual error from mysql to help you troubleshoot.
I posted this php_mysql lib a while back which is what I used on my last project.
http://www.euca.us/downloads/euca_phpmysql.zip (4KB) it will show use of mysql_error() Other than that, use some basic troubleshooting. What is $insert parsing to exactly? Does it look correct? Donovan -- D Brooke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php