
php
王浩
这个作者很懒,什么都没留下…
展开
-
smarty内建函数的应用
昨天,我讲解了smarty的自定义函数的定义与应用。今天,我给大家讲解一下smarty的内建函数的应用。说起来smarty的内建函数,它是smarty已经写好的函数,是不可以修改的。我们只需拿来用即可。下面我给大家介绍smarty的内建函数都有哪些。capturecapture函数的作用是收集模板输出的数据到一 个变量里,而不是把它们输出到页面.例如任何在 {capture name=”f原创 2011-11-17 16:02:52 · 679 阅读 · 0 评论 -
简单很实用的聊天室(不看会后悔的哦!~~~)
include 'checkUser.php';?>无标题文档#chatContent{width:500px;height:300px;background-color:#FFFF99;text-align:left;overflow:scroll;}table{margin:auto auto;backgr原创 2012-03-07 22:12:59 · 959 阅读 · 0 评论 -
ajax+js+dom+json+php+mysql 实现google suggest效果
ajax+js+dom+json+php+mysql 实现google suggest效果 /*设置文本框的样式*/ #inputStr{ width:300px; } /*设置DIV的样式*/ #suggest{ width:302px; position:absolute; margin-left:96px; overfl原创 2012-03-09 15:26:52 · 1179 阅读 · 0 评论