require("../lib.proy.php"); require_once("../config.php"); $academico=chequeo_priv("gestion_biblioteca"); phpBook_header(); $conexion=conectar("gestor_biblio" ,"5j9j1k09"); if($seleccion!="INSERTAR NUEVO EJEMPLAR") { $selecc="select t0.sujeto_a_prestamo, t0.emplazamiento, t0.id_ejemplar from ejemplar t0 where t0.codigo_ejemplar='$cod_ejemplar'"; $tabla_ejemp=guardar_select_tabla($conexion,$selecc,$num_ej); $id_ejemplar_a=$tabla_ejemp[0][2]; $sujeto_a=$tabla_ejemp[0][0]; $emplazamiento_a=$tabla_ejemp[0][1]; } $selec="SELECT nombre_institucion FROM institucion WHERE identificador='$institucion'"; $tabla=guardar_select_tabla($conexion,$selec,$num); $centro=$tabla[0][0]; $centro_may=strtoupper($centro); echo "