摘要:
设置mysql连接用的字符编码,要用uft8,而不是uft-8mysqli_query($conn,"set names utf8"); 阅读全文
摘要:
用simple_html_dom下载地址:https://github.com/samacs/simple_html_dom解析超链接描述1 $html = file_get_html('http://www.baidu.com/');2 3 // find all link4 foreach($h... 阅读全文