Ciao.

Aiutatemi a risolvere questo problema?
errore inserimento in tabella bold: Column count doesn't match value count at row 1

Si trata di un FORM per inserire dati in database attraverso PHP.

Eco il codice:
Codice PHP:
<?php
$codice
=$HTTP_POST_VARS[codice];
$copertina=$HTTP_POST_VARS[copertina];
$titolo_originale=$HTTP_POST_VARS[titolo_originale];
$genere=$HTTP_POST_VARS[genere];
$anno$_POST['giorno']."/".$_POST['mese']."/".$_POST['anno'];
$nazione=$HTTP_POST_VARS[nazione];
$durata=$HTTP_POST_VARS[durata];
$diretore=$HTTP_POST_VARS[diretore];
$regia=$HTTP_POST_VARS[regia];
$scrittori=$HTTP_POST_VARS[scrittori];
$premi=$HTTP_POST_VARS[premi];
$cast=$HTTP_POST_VARS[cast];
$riprese=$HTTP_POST_VARS[riprese];
$descr_breve=$HTTP_POST_VARS[descr_breve];
$descr_dettagliata=$HTTP_POST_VARS[descr_dettagliata];
?>



<?php
        $db_host
="localhost";
        
$db_login="root";
        
$db_pass="root";
        
$database="bold";
        
        
$db=mysql_connect($db_host,$db_login,$db_pass);
        
$rig=@mysql_db_query($database,$sql);
        
$nome_tab="schede";
        
        
       {
       
$sql="insert into $nome_tab values('$codice','$copertina','$titolo_originale','$genere','$anno','$nazione','$durata','$diretore','$regia','$scrittori','$premi','$cast','$riprese','$descr_breve','$descr_dettagliata')";
       
mysql_db_query($database,$sql)
       or die(
"errore inserimento in tabella $database: ".mysql_error());
       }
       
?>
GRAZIE.