首页
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
相关日志
改造UEditor文本编辑器给table增加thead和th标题行【20210609】
阅读 53
Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library
阅读 124
更换App的名字和图标的方法
阅读 27
Python调用外部命令的技巧V1.2【20210812】
阅读 53
做个用户管理系统(9)——用以处理表单的jQuery控件之表单验证【20201125】
阅读 23
编程基础第一课,框架(framework)【20201022】
阅读 59
yum镜像资源更换成阿里云aliyun
阅读 22
【阿里云】OSS挂载到本地磁盘上
阅读 24
PHPUnit学习笔记
阅读 30
MS15-034漏洞
阅读 70