时间:2021-07-01 10:21:17 帮助过:16人阅读
/**
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
*
* $Id: forum.php 33828 2013-08-20 02:29:32Z nemohou $
*/
define('APPTYPEID', 88);
define('CURSCRIPT', 'test');
require './source/class/class_core.php';
require './source/function/function_forum.php';
C::app()->init();
$squery=DB::query("SELECT catname FROM".DB::table('portal_category'));
while($value=DB::fetch($squery))
{
$data[]=$value;
}
print_r($data);
?>
$squery=DB::query("SELECT catname FROM ".DB::table('portal_category'));