getall($sql); } function pg($sel) { global $pgs; echo "\t