时间:2021-07-01 10:21:17 帮助过:29人阅读
你得到的 $subarr 数组里面都是些什么?总得贴出来看看吧?
不然怎么替你写代码?
额 我print_r($sunarr);之后是
DedeSql Object ( [linkID] => Resource id #36 [dbHost] => localhost [dbUser] => root [dbPwd] => 12345 [dbName] => dujiaoshou [dbPrefix] => djs_ [result] => Array ( [me] => ) [queryString] => select id,subjectname,grouptypeid from `djs_sksubject` where parentid=0 and status=1 [parameters] => [isClose] => [safeCheck] => 1 [showError] => [recordLog] => [isInit] => 1 [pconnect] => )
这是怎么回事啊?
你得到的 $subarr 数组里面都是些什么?总得贴出来看看吧?
不然怎么替你写代码?
额 我print_r($sunarr);之后是
DedeSql Object ( [linkID] => Resource id #36 [dbHost] => localhost [dbUser] => root [dbPwd] => 12345 [dbName] => dujiaoshou [dbPrefix] => djs_ [result] => Array ( [me] => ) [queryString] => select id,subjectname,grouptypeid from `djs_sksubject` where parentid=0 and status=1 [parameters] => [isClose] => [safeCheck] => 1 [showError] => [recordLog] => [isInit] => 1 [pconnect] => )
这是怎么回事啊?
你得到的 $subarr 数组里面都是些什么?总得贴出来看看吧?
不然怎么替你写代码?
好吧 ,我错了。我不知道该怎么输出$subarr 。。。。。