12 2014 档案
摘要:当smarty开启缓存时,当tpl文件内容改变时,则缓存页面会重新生成test.php:caching = true; $_smarty->assign('name','测试缓存'); $_smarty->display('test.tpl');?>1 test.tpl:2 3 4 ...
阅读全文
摘要:这里分两种情况来介绍1、in 后面是记录集,如:select * from table where uname in(select uname from user); 2、in 后面是字符串,如:select * from table where uname in(...
阅读全文