同時判斷的疑問
Simpler way to check if variable is not equal to multiple string values?<?php if ("$page_id" !== '2' || "$page_id" !== '8') //等同 if (! ("$page_id" == '2' || "$page_id" == '8') ) if( $some_variable !== 'uk' && $some_variable !== 'us' ) $os = array("uk", "us"); // You can set multiple check conditions here if (in_array("uk", $os)) //Founds a match ! { echo "Got you"; } ?>瞭解extend有三個controller的不同處
Working with RESTful Services in CodeIgniter
每次重新開啟電腦要跑的東西:
1.brew services restart memcached
2.elasticsearch
3.cd 至apidoc,然後run gulp
4.系統偏好中心,開啟mysql
0729
- 修改product/edit 追加->特殊,增加結束日期
訂閱部落格