Originariamente inviato da RoTeam
Mmm strano

, in questo caso visto che sono 2 prova fare unset su entrambe senza un ciclo
Se è cosi, ma mi potrei essere sbagliato, non va neanche
Codice PHP:
if(!empty($nickname) && !empty($commento))
{
/* -- Impostiamo la Query -- */
$db_commenti_sec = "INSERT INTO " . $sec . " (filename_code_extension, nickname, commento, userIP, country, date, agent) ";
$db_commenti_sec.= "VALUES ('$sourceID', '$nickname', '$commento', '$ip', '$country', '$date_db', '$agent')";
/* -- Salvataggio del NickName e del Commento nel DataBase -- */
$write = mysql_query ($db_commenti_sec) or die (mysql_error());
if ($write === FALSE) $status = "Errore nel salvataggio del commento. Riprova.";
else $status = "Il commento è stato inserito correttamente";
unset($_POST[$commento]);
unset($_POST[$nickname]);
}