Ver Mensaje Individual
  #4 (permalink)  
Antiguo 27/08/2008, 10:44
Avatar de the_web_saint
the_web_saint
 
Fecha de Ingreso: mayo-2008
Ubicación: localhost/tierra/america/panama
Mensajes: 1.229
Antigüedad: 16 años, 10 meses
Puntos: 43
Respuesta: Problemas al pasar datos a la BDD

HOLA iNTENTA DE ESTA FORMA

Cita:
$query="INSERT INTO tblProducciones (id_producto,Nombre,Apellido,FechaNacimineto,id_Es tadocivil,Fecha_Ingreso,Activo,fechaTermino) VALUES('".$_POST['Rut']."','".$_POST['Nombre']."','".$_POST['Apellido']."','".$_POST['FechaNacimineto']."','".$_POST['tblestadocivil']."','".$_POST['Fecha_Ingreso']."','".$_POST['Activo']."','".$_POST['fechaTermino']."')";//echo"$query";

$result=mysql_db_query($database,$query,$link) or die("Error $query .<br>Error: ".mysql_error());
SALUDOS
__________________
..::The Saint::..
El pesimista se queja del viento; el optimista espera que cambie; el realista ajusta las velas.