摘要: 1 从$res获取行数据的时候,处理 mysql_fetch_row($res),还有三个方法.2 分别是3 mysql_fetch_row($res) ,返回一个索引的数组 (推荐.)4 mysql_fetch_assoc($res) ,返回一个关联数组5 mysql_fetch_a... 阅读全文
posted @ 2015-01-04 22:17 人间最美二月天 阅读(673) 评论(0) 推荐(0) 编辑
摘要: 1 1. 编写php程序完成对用户表的显示 2 代码 3 string(1) "1" [1]=> string(2) "zs" [2]=> string(32) "e10adc3949ba59abbe56e057f20f883e" [3]=> string(11) "zs@sohu.c... 阅读全文
posted @ 2015-01-04 20:24 人间最美二月天 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 在PHP中可以轻松的使用下面的语句实现禁止页面缓存。代码:1 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); 2 header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); 3 header... 阅读全文
posted @ 2015-01-04 17:14 人间最美二月天 阅读(242) 评论(1) 推荐(0) 编辑
摘要: 1 30){ 27 28 // echo ""; 29 // return ; 30 // } 31 //返回的文件 32 header("Content-type: applicat... 阅读全文
posted @ 2015-01-04 12:37 人间最美二月天 阅读(157) 评论(0) 推荐(0) 编辑