1<?php 2 3function set_sql($name, $query) 4{ 5 if (empty($GLOBALS['SQL'][$name])) 6 { 7 $GLOBALS['SQL'][$name] = $query; 8 } 9} 10?> 11