首页
tfphp
tfhtml
查询
登录
注册
在 Smarty 模板中使用 define 定义的常量
发表于 2019-09-30 11:18:35
阅读
32
次
PHP代码:
<?php define('ABC', "this is abc");
Html代码:
<% $smarty.const.ABC %>
PHP
Smarty
鬼谷子叔叔
跟福哥学编程吧~~
日志
212
浏览
1626
相关日志
Activity回传处理结果的方法
阅读 40
做个web框架(26)——TFModel实现upsert方法功能【20210117】
阅读 31
Python正则表达式的使用技巧V1.2【20210618】
阅读 40
做个web框架(24)——TFModel设计基于Redis的高速缓存层实现系统加速【20210113】
阅读 38
ASCII表
阅读 15
java: 错误: 无效的源发行版:15
阅读 112
在Windows配置Python操作graphviz库制作流程图的方法【20211202】
阅读 140
TortoiseGet使用Cherry Pick合并一个commit到分支上面【20210822】
阅读 34
Python使用selenium调用远程chromedriver调试程序的技巧【20211130】
阅读 499
Canal: destination:tfams should start first
阅读 54