Ver Mensaje Individual
  #6 (permalink)  
Antiguo 27/08/2008, 12:34
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

Cierto, muchas gracias por la aclaración:

Entonces sería más o menos 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());
:D
__________________
..::The Saint::..
El pesimista se queja del viento; el optimista espera que cambie; el realista ajusta las velas.