<html> <head> <link href="../Estilos/tareas_estilo.css" type="text/css" rel="stylesheet" > </head> <body> <?php $nombres = $_POST["nombres"]; $apellidos = $_POST["apellidos"]; $linkedin = $_POST["linkedin"]; $DNI = $_POST["DNI"]; $direccion = $_POST["direccion"]; $cod_universitario = $_POST["cod_universitario"]; $nom_usuario = $_POST["usuario"]; /* para verificar si se ha ingresado algun otro valor */ if (strcmp($_POST["id_telefono"], 'otro') == 0) { $telefonos->nuevo($_POST["otro_telefono"], $id_persona_env); } else { $id_telefono = $_POST["id_telefono"]; $telefonos->hacer_predeterminado($id_telefono, $id_persona_env); } if (strcmp($_POST["id_correo"], 'otro') == 0) { $correos->nuevo($_POST["otro_correo"], $id_persona_env); } else { $correos->hacer_predeterminado($_POST["id_correo"], $id_persona_env); } /* ---------------------------------------------------- */ if (strcmp($_POST["id_universidad"], 'otro') == 0) { $id_universidad = $universidades->nuevo($_POST["otro_universidad"]); } else { $id_universidad = $_POST["id_universidad"]; }