BsCapters::model()->findAllBySql("select count(*) as bookids from bs_capters where bookid = ".$bookid." and urlid = ".$urlid)

count(*) as xxx

这个xxx必须是表里面存在的字段否则无法取到值

相关文章:

  • 2022-12-23
  • 2021-11-29
  • 2021-10-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案