
09/12/2008, 08:22
|
 | | | Fecha de Ingreso: abril-2007 Ubicación: Cartagena (Murcia)
Mensajes: 241
Antigüedad: 17 años, 10 meses Puntos: 18 | |
Respuesta: agregar valores Declara las variables que vienen del formulario
<?php
include("conexion.php");
$link=Conectarse();
$Ciudad=$_POST[ciudad];
$Fecha_Pago=$_POST[Fecha_Pago];
$Nombre_Persona=$_POST[Nombre_Persona];
...
mysql_query("INSERT into Pago (Ciudad,
Fecha_Pago,
Nombre_Persona,
Valor_letras,
Valor_pago,
Comentarios_Pago,
Concepto_Pago) values
('$Ciudad',
'$Fecha_Pago',
'$Nombre_Persona',
'$Valor_letras',
'$Valor_pago',
'$Comentarios_Pago',
'$Concepto_Pago')",$link);
header("Location: index.htm");
?> |