摘要: 在数据库读出的数据,都是字符类型的,所以需要转换:时间的转换:用date ()函数来实现时间格式;date()函数默认时间是1970/01/01/ 00:00:00;要想得到想要的时间就还得用strtotime();例子:date (Y年m月d日,strtotime($rows['Postdate'... 阅读全文
posted @ 2014-10-09 18:35 唥凊-洫栤 阅读(122) 评论(0) 推荐(0) 编辑
摘要: HTML formselect表单标签案例代码如下:跳转菜单的需要放在head头部标签内的JS脚本代码:body内html标签代码:1、普通下拉列表菜单2、跳转的下拉列表菜单 阅读全文
posted @ 2014-10-09 18:23 唥凊-洫栤 阅读(250) 评论(0) 推荐(0) 编辑