Processing math: 0%
私人领地

03 2014 档案

摘要:解决办法:加入一段css和.ui-mobile img {max-width: 100%;}即可解决。 阅读全文
posted @ 2014-03-31 18:00 狂奔的蜗牛Snails 阅读(267) 评论(0) 推荐(0) 编辑
摘要:代码ua = strtolower(_SERVER['HTTP_USER_AGENT']);uachar = "/(nokia|sony|ericsson|mot|samsung|sgh|lg|philips|panasonic|alcatel|lenovo|cldc|midp|mobile)/i";if((ua == '' || preg_match(uachar, ua))&& !strpos(strtolower($_SERVER['REQUEST_URI']),'wap')) 阅读全文
posted @ 2014-03-31 11:21 狂奔的蜗牛Snails 阅读(204) 评论(0) 推荐(0) 编辑
摘要:错误写法会出现css margin 不能正常使用。如: margin: 0 auto; 阅读全文
posted @ 2014-03-13 18:31 狂奔的蜗牛Snails 阅读(178) 评论(0) 推荐(0) 编辑
摘要:源代码 {$key}. {$r.title}(阅读 {$r.hits}次) 新代码一:{php $sql='select * from yt_article where catid=37';} {$key}. {$r.title}(阅读 {$r.hits}次)还有一种方法是 filed ="*" 调用全部字段 阅读全文
posted @ 2014-03-12 10:49 狂奔的蜗牛Snails 阅读(205) 评论(0) 推荐(0) 编辑
摘要:d.php文件return array("0" => 内容一,"1" => 内容二,"2" => 内容三,"3" => 内容四)f.php 文件内容d = include("d.php");print_r(d);echo d[0];print_r(d)的结果是直接输出数组 内容echo($d[0]) 的输出结果是 “内容一” 阅读全文
posted @ 2014-03-12 10:15 狂奔的蜗牛Snails 阅读(421) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示