php链接到mysql的简单示例

2019-06-16 02:08栏目:技术创新

<?php

$UserName = 'abc';
$Password = '8sj27s';
$DbHandle = mysql_connect ('localhost', $UserName, $Password);
if (!$DbHandle) {
  die 'No database connection could be established.';
}

?>

版权声明:本文由新浦京娱乐站_新浦京娱乐场官网_新浦京娱乐发布于技术创新,转载请注明出处:php链接到mysql的简单示例