tp5.1 nl2br使用
tp5.1中模板使用{$str|nl2br}调用nl2br不好用,直接显示<br /> 使用如下方式则可以: {php} echo nl2br($str);{/php}
记录学习和工作
tp5.1中模板使用{$str|nl2br}调用nl2br不好用,直接显示<br /> 使用如下方式则可以: {php} echo nl2br($str);{/php}
.layui-form-label. required : before { top: 8px; right: 8px; color: red; content: ' '; font-weight: 900; line-height: 1.…
/ 图片水印类 / class ImageWater{ / 为图片增加水印函数 @param string $imgSrc 目标图片,可加相对路径 @param string $markImg 水印图片,可加相对路径,支持PNG和GIF两种…
转自:http://www.ruanyifeng.com/blog/2015/07/flex-grammar.html 2009年,W3C 提出了一种新的方案----Flex 布局,可以简便、完整、响应式地实现各种页面布局。目前,它已经得到…
运行“regedit”,编辑注册表 HKEY LOCAL MACHINE -- SOFTWARE -- Microsoft -- Windows -- CurrentVersion -- Run 右键Run,新建 字符串值 ,名称随便填,然…
转自:https://www.w3cschool.cn/xuanim/xuanim-7reh316n.html XXD下载地址: https://xuan.im/page/download.html 选择“消息代理服务器” XXD配置 找到…
httpd.conf中 Listen 12.34.56.78:80注释 httpd-vhosts.conf中 Listen 80 <VirtualHost :80> ServerAdmin webmaster@dummy-hos…