亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

PHP unlimited classification configuration connection file

Configure connection file

New file conn.php

<?php
    $db_host='localhost';
    $db_user='root';
    $db_password = '';
    $db_name = '';
    $link=@mysql_connect($db_host,$db_user,$db_password)or die(mysql_error());
    mysql_select_db($db_name,$link)or die(mysql_error());
    mysql_query("set names utf8;")or die('編碼設(shè)置錯誤');
?>

$db_password = ''; fill in the database connection password, $db_name = ''; fill in the name of the database.

When using the database file later, you only need to call conn.php.

Continuing Learning
||
<?php $db_host='localhost'; $db_user='root'; $db_password = ''; $db_name = ''; $link=@mysql_connect($db_host,$db_user,$db_password)or die(mysql_error()); mysql_select_db($db_name,$link)or die(mysql_error()); mysql_query("set names utf8;")or die('編碼設(shè)置錯誤'); ?>
submitReset Code