帝国cms自定义函数之随机获取10条信息idfunctionjhc_get_keyid($tbname,$limit=10){global$empire,$dbtbpre;$maxid=$empire->gettotal("selectmax(id)astotalfrom{$dbtbpre}ecms_{$tbname}");$ids=array();$i=0;w
自定义函数-自定义函数简介-自定义函数资料
自定义函数
帝国cms自定义函数之随机获取10条信息idfunctionjhc_get_keyid($tbname,$limit=10){global$empire,$dbtbpre;$maxid=$empire->gettotal("selectmax(id)astotalfrom{$dbtbpre}ecms_{$tbname}");$ids=array();$i=0;w