Constitución No. 434 - Col. Centro - Cd. Guzmán, Jal. - Tel 01 (341) 413-32-08
Consulta de Resultados de Inscripciones 2012
//inserto si es que paso la validacion
if($_POST['action'] == "enviar"){
if($_POST['bus'] == "folio"){$sql="Select t1.id_alum,t2.sex,t1.razon, t1.folio, t2.id, t2.nombre, t2.telefono, t2.estado, t2.email from solicitud as t1, users as t2 where t1.folio='$_POST[folio]' and t1.id_alum=t2.id"; }
else{$sql="Select t1.id_alum,t2.sex,t1.razon, t1.folio, t2.id, t2.nombre, t2.apep, t2.apem, t2.telefono, t2.estado, t2.email from solicitud as t1, users as t2 where t2.nombre='$_POST[name]' and t2.apep='$_POST[apep]' and t2.apem='$_POST[apem]' "; }
if(@mysql_query($sql,$link)){
// $_SESSION['ya']=true; mkdir("users/". mysql_insert_id());
?>
}else{ ?>
//echo "Lo sentimos, el usuario ".$_POST['folio']." no pudo ser agregado, intentelo de nuevo ".mysql_error();
}
//mysql_close($link);
}else{// $_SESSION['ya']=false;?>
}?>