qui ancora non funziona...
Codice PHP:
$instabella="INSERT INTO $poll_table ( domanda, ";
for ($n=1; $n<=$opt_n; $n++) $instabella .="opt$n, ";
for ($n=1; $n<$opt_n; $n++) $instabella .="voto$n, ";
$instabella .="voto$n) VALUES ( '$domanda', ";
for ($n=1; $n<=$opt_n; $n++) $instabella .=" '$temp' ,"; //neanche cosi!! $$temp
for ($n=1; $n<$opt_n; $n++) $instabella .="0, ";
$instabella .="0)";
![]()