国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

mysqli function
林瑞程
林瑞程 2019-09-07 21:00:50
0
5
1536

When using functions such as mysqli_num_rows() in the tp5.1 framework, an error will be reported. Can these functions not be used on TP?

林瑞程
林瑞程

reply all(2)
阿亮

Now they are all object-oriented-new mysqli or pdo

  • reply I queried the database before and found that the IDs were out of order, so I wanted to sort them using a cursor or something. Do you know any way to do this?
    林瑞程 author 2019-11-06 15:17:32
移動用戶-8803494

DB_TYPE is set to mysqli

  • reply Thank you very much for your reply. In which file is the configuration you are talking about located?
    林瑞程 author 2019-09-09 20:01:30
  • reply I changed the database link type in the database.php file and changed mysql to mysqli but still reported an error that the class does not exist: \think\db\connector\Mysqli. After checking the reason, it seems that tp5.1 does not support it. Before tp5, just change it to mysqli.
    林瑞程 author 2019-09-09 21:07:23
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template