session_start(); header( 'Content-Type: text/html;charset=utf-8' ); include('config/db.php'); include('config/funciones.php'); if (NivelAcceso($operativo)) { if ($_GET["consecutivo"]) { $conn=get_db_conn(); $consecutivo= cleanQuery($_GET['consecutivo']); $query="select * from investigadores where id='".$consecutivo."' limit 1"; mysql_query($query); $result = mysql_query($query); if($row = mysql_fetch_array($result)) { $Curricula= $row["Curricula"]; $Grado= $row["Grado"]; $nombre= $row["Investigador"]; $Tipo= $row["Tipo"]; $Grado= $row["Grado"]; } $_SESSION["consecutivo"]=$consecutivo; ?>