lg2016's recent timeline updates
lg2016

lg2016

V2EX member #167055, joined on 2016-04-07 15:21:08 +08:00
lg2016's recent replies
Apr 22, 2016
Replied to a topic by lg2016 问与答 问下哪里可以托管技术文档或产品手册
看来知道的人不多!
@peter999 先阶段写着玩的,就 10 多条记录,暂时不用写到表里面,如果很多的话那一定要写到表里面。

另外再问大家一个问题, select 查询语句中是否不要大量的出现函数语句,听说会出现很多问题。
@zouguolvyi @onion83 根据你们的思路,写出下面这段查询语句

$today = date('Y-m-d');
$tomorrow = date('Y-m-d',strtotime('+1 day'));

$sql = "select DATE_FORMAT(FROM_UNIXTIME(pubtime),'%Y-%m-%d') as todayr_date,count(*) as today_sum from publish where DATE_FORMAT(FROM_UNIXTIME(pubtime),'%Y-%m-%d') between '{$today}' and '{$tomorrow}' group by todayr_date";
@bianzhifu 嗯,已收到,下课了,我再研究!
@dangyuluo 嗯,纠结了一晚,以后会注意的。
@bianzhifu 楼上真相,谢谢了!
大家还没上班?
Apr 8, 2016
Replied to a topic by lg2016 PHP 问个目录常量定义问题
@jugelizi 你这么一说,我就明白了,看来打好基础很重要。
Apr 8, 2016
Replied to a topic by lg2016 PHP 问个目录常量定义问题
@audi 嗯,学习环境是在 windows 下的。
另外我还一个小小的疑问, str_replace('\\','/',__DIR__) 为麻是搜索“\\”双斜杠。
Apr 8, 2016
Replied to a topic by lg2016 PHP 问个目录常量定义问题
@jfcherng 一针见血,明白是怎么一回事了,谢谢啦!
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   908 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 20:46 · PVG 04:46 · LAX 13:46 · JFK 16:46
♥ Do have faith in what you're doing.