Ver Mensaje Individual
  #3 (permalink)  
Antiguo 12/06/2007, 22:47
nevergame
 
Fecha de Ingreso: julio-2006
Ubicación: sevilla
Mensajes: 251
Antigüedad: 17 años, 10 meses
Puntos: 5
Re: Fallo en insert, me tira este mensaje alguien me puede decir porque

Perdon la verdad es que he planteado mal la pregunta

consulta:

$sentm="INSERT INTO INSERT INTO minuta_ponente VALUES ( NULL , '$colaborador', '$curso', '$mtalon', '$total_liquido', '$total_bruto', '$irpf', '$total_dieta', '$total_desp', '$total_otros', '$total_otros_gastos', '$total_minuta', '$fecha_alta', '$mccc')";

mysql_query($sentm,$conexion) or die(mysql_error());

y este un insert hehco desde phpmyadmin

INSERT INTO `gestcep`.`minuta_ponente` (
`id_minuta` ,
`id_colaborador` ,
`id_curso` ,
`mp_n_talon` ,
`mp_importe_liquido` ,
`mp_total_importe_bruto` ,
`mp_irpf` ,
`mp_dietas_total` ,
`mp_desplazamientos_total` ,
`mp_otros_total` ,
`mp_total_otros_gastos` ,
`mp_total_minuta` ,
`mp_fecha_pago` ,
`mp_ccc`
)
VALUES (
NULL , '1', '1', '125', '1000', '1000', '40', '1258', '1236', '1258', '1236', '425', '2007-06-13', '123456789112365478936'
);