Ver Mensaje Individual
  #3 (permalink)  
Antiguo 03/09/2003, 11:57
Anita24
 
Fecha de Ingreso: agosto-2003
Ubicación: Oaxaca
Mensajes: 41
Antigüedad: 20 años, 8 meses
Puntos: 0
este es el codigo

este es el codigo desde el principio:

<?php
// --MEJORAR ESTA PARTE, TRATANDO DE QUE NO SE TENGA QUE ABRIR DE NUEVO LA BD
include ("c:\Archivos de programa\Apache Group\Apache\htdocs\Control_escolar\Libreria.lib") ;
FnCon();
$LcSentencia="SELECT N_de_ficha FROM Preinscripcion";
$LcVar=mssql_query($LcSentencia);
$LcNum=1;
while ($LcFicha=mssql_fetch_array($LcVar))
{ $LcNum++;
}

//$Ficha=$HTTP_POST_VARS['LcNum'];
$Nom=$HTTP_POST_VARS['Nombre'];
$ApP=$HTTP_POST_VARS['ApPat'];
$ApM=$HTTP_POST_VARS['ApMat'];
$Sex=$HTTP_POST_VARS['Sexo'];
$FNac=$HTTP_POST_VARS['DayNac']."/".$HTTP_POST_VARS['MonthNac']."/".$HTTP_POST_VARS['YearNac'];
$Dom=$HTTP_POST_VARS['Domicilio'];
$Col=$HTTP_POST_VARS['Col'];
$Tel1=$HTTP_POST_VARS['Tel1'];
$Tel2=$HTTP_POST_VARS['Tel2'];
$Tel3=$HTTP_POST_VARS['Tel3'];
//CP=$HTTP_POST_VARS['CP'];
$Carr=$HTTP_POST_VARS['Carrera'];
$Email=$HTTP_POST_VARS['eMail'];
$Pob=$HTTP_POST_VARS['Poblacion'];
$Nacion=$HTTP_POST_VARS['Nacional'];
$Escuela=$HTTP_POST_VARS['Escuela'];
$Espec=$HTTP_POST_VARS['Espec'];
$Prom=$HTTP_POST_VARS['Prom'];

header("Location: 'preinscripcion.php'");
?>
__________________
'.' @nita '.'