Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/11/2004, 16:47
frijolerou
 
Fecha de Ingreso: diciembre-2003
Mensajes: 1.583
Antigüedad: 20 años, 4 meses
Puntos: 13
Seguramente el servidor tiene deshabilitadas las variables globales, intenta asi:

<?php
include("lib.php");
$Cnx=CnxMSSQL();
# AÑADIR EL NUEVO REGISTRO

$Nombre = $_POST['Nombre'];
$APat = $_POST['APat'];
$AMat= $_POST['AMat'];
$Usuario= $_POST['Usuario'];
$Clave= $_POST['Clave'];

$sql = "INSERT INTO $tabla (Nombre, APaterno, AMaterno, Usuario, Clave)
VALUES ('$Nombre', '$APat','$AMat','$Usuario','$Clave')";
mssql_query($sql,$Cnx);

echo "Sus datos han sido agregados.\n";
mssql_close($Cnx);
?>
__________________
El conocimiento es libre: Movimiento por la Devolución