Ieri ho fatto un scirptino in php per aggiungere dei dati tramite un form html ad un database mysq e tutto funzionava all grande. questa matitna ho fatot delle modifiche aggiungendo nuove righe, ma non modificando neinte di significativo, ma qunado vado ad agigungere i dati mi da quest'errore.
Column count doesn't match value count at row 1
Questo invece è il codice che uso.
Codice PHP:
$inserimento = mysql_query ("INSERT INTO torneo (id, name, realname, song, born, home, heigh, weigh, strikem, image, flym, hardcorem, finisher, win, fisico, style, bios)
VALUES ('', '$HTTP_GET_VARS[name]', '$HTTP_GET_VARS[realname]', '$HTTP_GET_VARS[song]', '$HTTP_GET_VARS[born]', '$HTTP_GET_VARS[home]', '$HTTP_GET_VARS[heigh]', '$HTTP_GET_VARS[weigh]', '$HTTP_GET_VARS[strikem]', '$HTTP_GET_VARS[flym]', '$HTTP_GET_VARS[hardcorem]', '$HTTP_GET_VARS[finisher]', '$HTTP_GET_VARS[image]', '$HTTP_GET_VARS[fisico]', '$HTTP_GET_VARS[syle]', '$HTTP_GET_VARS[bios]')")
or die("Inserimento non riuscito: " . mysql_error());