codeigniter, result() vs. result_array()

后端 未结 7 1476
时光取名叫无心
时光取名叫无心 2020-11-28 14:04

I use both result() and result_array().

Usually i like to get my result as array thats why i use result_array() mostly..

But i want

相关标签:
7条回答
  • 2020-11-28 14:53

    in my experince the problem using result() and result_array() in my JSON if using result() there no problem its works but if using result_array() i got error "Trying to get property of non-object" so im not search into deep the problem so i just using result() if using JSON and using result_array() if not using JSON

    0 讨论(0)
提交回复
热议问题