My code is:
[codebox]//** Save new data in another table ****
global $conn,$strTableName;
$strSQLSave = "INSERT INTO tavoli_pranzo (zona, numero_tavolo, posti_max, foto_tavolo) values (";
$strSQLSave .= $values["zona"].",";
$strSQLSave .= $values["numero_tavolo"].",";
$strSQLSave .= $values["posti_max"].",";
$strSQLSave .= $values["foto_tavolo"];
$strSQLSave .= ")";
db_exec($strSQLSave,$conn);
return true;[/codebox]
but, I have this error:
Errore di tipo256Errore di descrizioneThis is a general error. It occurs when thereis an error in event code or in SQL.