亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Pagination, can the data array queried using SQL statements be paginated? $list=query($sql); It seems that the paginate() method cannot be used
帶磚侍衛(wèi)
帶磚侍衛(wèi) 2018-03-26 23:56:10
0
5
1786

Can the data array queried using SQL statements be paginated? $list=query($sql); It seems that the paginate() method cannot be used

帶磚侍衛(wèi)
帶磚侍衛(wèi)

不要計較眼前得失,一件看起來吃虧的事情,往往會變成有利

reply all(1)
 

You can use limit

when querying.
  • reply There are two types of paging, one is paging when querying data with mysql, and the other is paging of data queried by sql statement. Is LZ asking about the latter?
    海塞爾維亞 author 2018-03-27 11:16:22
  • reply It is the data queried using sql statement, which is an array.
    帶磚侍衛(wèi) author 2018-03-27 16:36:10
  • reply Oh, I'll try, thank you
    帶磚侍衛(wèi) author 2018-03-27 16:36:30
  • reply If LZ wants to paginate the queried array, just convert the array to JSON.
      author 2018-03-27 17:14:56
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template