12 2014 档案

摘要:当smarty开启缓存时,当tpl文件内容改变时,则缓存页面会重新生成test.php:caching = true; $_smarty->assign('name','测试缓存'); $_smarty->display('test.tpl');?>1 test.tpl:2 3 4 ... 阅读全文
posted @ 2014-12-25 11:17 终于还 阅读(501) 评论(0) 推荐(0) 编辑
摘要:这里分两种情况来介绍1、in 后面是记录集,如:select * from table where uname in(select uname from user); 2、in 后面是字符串,如:select * from table where uname in(... 阅读全文
posted @ 2014-12-06 09:11 终于还 阅读(45902) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示