PHP 5.6 日期转换 Nginx 502 Bad Gateway 错误 $whtdate = date("Y-m-d",strtotime($myrow[whtdate])); //不加单引号502错误 $whtdate = date("Y-m-d",strtotime($myrow['whtdate'])); //加单引号不报错 ... PHP 2019/09/02 围观:2312人 阅读全文