国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

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è)置錯(cuò)誤');
?>

$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è)置錯(cuò)誤'); ?>
submitReset Code