标签:style class c blog code http
php代码规范。。后续跟进中。。
学习php项目。。
http://monitor.blog.163.com/blog/static/175820268201262855042641/
http://www.oschina.net/question/1579_47231
http://blog.csdn.net/hujunqi/article/details/9396069
http://blog.csdn.net/initphp/article/details/7788003
//快速还原到旧的接口
$sql="SELECT config_code FROM table WHERE
id=1";
$config_code = $this->dao->GetValue($sql);
$config_code_str
= array();
eval(
"\$config_code_str = {$config_code};" );
$config_code_str[‘order_market_new‘]
= 0;
$config_code_str =
var_export($config_code_str,true);
$code_str =
mysql_real_escape_string($config_code_str);
$sql="update table set
config_code= ‘$code_str‘ where id=1";
$result =
$this->dao->query($sql);
标签:style class c blog code http
原文地址:http://www.cnblogs.com/usual2013blog/p/3747767.html