| [ PHPXref.com ] | [ Generated: Sun Jul 20 17:52:21 2008 ] | [ Focus/SIS 1.0 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <? 2 /** 3 * @file GetSchool.fnc.php 2006-04-17 andrew $ 4 * @package Focus/SIS 5 * @copyright Copyright (C) 2006 Andrew Schmadeke. All rights reserved. 6 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.txt 7 * Focus/SIS is free software. This version may have been modified pursuant 8 * to the GNU General Public License, and as distributed it includes or 9 * is derivative of works licensed under the GNU General Public License or 10 * other free or open source software licenses. 11 * See COPYRIGHT.txt for copyright notices and details. 12 */ 13 14 function GetSchool($sch) 15 { global $_FOCUS; 16 17 if(!$_FOCUS['GetSchool']) 18 { 19 $QI=DBQuery("SELECT ID,TITLE FROM SCHOOLS"); 20 $_FOCUS['GetSchool'] = DBGet($QI,array(),array('ID')); 21 } 22 23 return $_FOCUS['GetSchool'][$sch][1]['TITLE']; 24 } 25 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |