Se l'errore non te lo dice spontaneamente, chiediglielo:
Codice PHP:
if ( ! mysql_query("INSERT INTO ...") )
{
    echo 
mysql_errno().': '.mysql_error();
}
else
{
    
header(...);