摘要: 获取网页中span标签里面的t_id的值 public function getpreg(){ $www = 'http://monkey.test.tripb.cn/test/preg.html'; $html = file_get_contents($www); $search = '/<spa 阅读全文
posted @ 2016-07-12 14:54 小庄啊 阅读(442) 评论(0) 推荐(0) 编辑
摘要: public function trun(){ $sql = "show tables"; $info = M()->query($sql); // echo '<meta http-equiv="Content-type" content="text/html:charset=utf-8">'; 阅读全文
posted @ 2016-07-12 10:20 小庄啊 阅读(179) 评论(0) 推荐(0) 编辑