240 发简信
IP属地:广东
  • php转换时间戳的一些方法

    <?php echo strtotime(date('Y-m-d')); 获取今天凌晨的时间戳 strtotime(date('Y-m-d',t...

  • tp5分组查询最新的数据

    ``` $subQuery = Db::table('zhi_user_profit a') ->where('group',5...

  • tp5随机抽取一条或多条

    我这里用的是thinkcmf5 column,toArray,这些是框架自带的函数 ``` <?php //多条 //取出red_prize的I...

  • 计算二维数组中某一元素之和

    ``` <?php [0] => array(5) { ["id"] => string(2) "11" ["name"] => s...

  • 自己面试PHP问到的问题

    1.小程序token机制 从客户端获得的code换取openid 和session_key https://www.jianshu.com/p/...

  • Resize,w 360,h 240