您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

原生php mysql链接

2024/3/18 8:45:26发布26次查看
1.原生连接代码
$test = "select count(*) count from dede_userphone where phone=".$mobile; $coon = @mysql_connect('$host','$user','$password'); @mysql_query("set names utf8"); @mysql_select_db('dede_qizheng',$coon); $res = @mysql_query($test,$coon); while($re = mysql_fetch_array($res)) { array_push($arr,$re); } echo '<pre>'; var_dump($arr); exit;
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product