Código:
mysql_error me dice lo siguiente:function grabar($campos){
if($this->con->conectar()==true){
return mysql_query("insert into atenciones (descripcion,respuesta,cod_estado,tipoa_cod)inner join
estado_atencion on
atenciones.cod_estado=estado_atencion.cod_estado inner join
tipo_ate on
atenciones.tipoa_cod=tipo_ate.tipoa_cod
values ('".$campos[0]."','".$campos[1]."','".$campos[2]."','".$campos[3]."')")or die (mysql_error());
}
}
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner join estado_atencion on atenciones.cod_estado=estado_atencion.cod_esta' at line 1



