no te da error porque no pides que te los de... cambialo a esto y fijate que te dice....
Cita:
Iniciado por finikini Código PHP:
if(mysql_query("insert into historial (fecha,tipo,de,rango,para,comentario) values ".$lista.";") or die (mysql_error()){ echo "Ok"; }