首页
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
相关日志
IntelliJ 2019 激活码(不断更新)
阅读 111
Debian12Bookworm安装docker-ce服务的方法
阅读 39
做个用户管理系统(28)——发送绑定邮箱激活码邮件【20201217】
阅读 101
编程入门第五课,循环语句(for,foreach,while)【20200915】
阅读 92
做个web框架(18)——验证码工具对象TFSafeCode的实现【20201205】
阅读 70
HTML语言入门(2)——标签样式【20201116】
阅读 55
编程入门第三课,输入与输出【20200910】
阅读 73
at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
阅读 127
通过VMWare虚拟机安装CentOS 8操作系统【20210126】
阅读 121
做个用户管理系统(1)——分析需求【20201113】
阅读 97