non riesco a scrivere nel database ...come mai?
codice:if (!mysql_query(" INSERT INTO '".$_CONFIGURAZIONI['table_AcqOff']."' ('Pr_Prezzo', 'Co_Denominazione', 'Co_Persona_Cognome', 'Co_Persona_Nome', 'Co_Persona_Posizione', 'Co_Persona_Email', 'Co_Persona_Cell', 'Co_Tel', 'Pr_Note', 'Pr_Prezzo_Date', 'Pr_Prezzo_Time', 'Pr_Cod' ) VALUES ( '".$_POST['Pr_Prezzo']."', '".$_POST['Co_Denominazione']."', '".$_POST['Co_Persona_Cognome']."', '".$_POST['Co_Persona_Nome']."', '".$_POST['Co_Persona_Posizione']."', '".$_POST['Co_Persona_Email']."', '".$_POST['Co_Persona_Cell']."', '".$_POST['Co_Tel']."', '".$_POST['Pr_Note']."', '".date("Y-m-d")."', '".date("H:i").":00', '".$_POST['Pr_Cod']."' ) ") ) { echo $_CONFIGURAZIONI['PopupResult_KO_InserimentoFallito']; $EMAILto = $_CONFIGURAZIONI['_Email_Help']; $EMAILre = "MEDIAIMPORTS - Problema nel sito"; $EMAILmsg = "PROCEDURA: Acquisti.Offerte.Inserimento\nERRORE: Inserimento nel Database fallito\nUTENTE: ".$_POST['Co_Persona_Nome']." ".$_POST['Co_Persona_Cognome']." ".$_POST['Co_Persona_Email']; $EMAILhead = "From: ".$_CONFIGURAZIONI['_Email_Help']."\r\n"; mail ( $EMAILto, $EMAILre, $EMAILmsg, $EMAILhead); mysql_close($conn1); exit(); }

Rispondi quotando