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

Where are the codes for the conn.php and functions.php files?
為愛走天涯
為愛走天涯 2018-04-12 17:39:53
0
2
2137

<?php

?require_once('conn.php'); //連接數(shù)據(jù)庫

?require_once('functions.php');

?$sql = "SELECT * FROM news order by id desc";

?$info = mysql_query($sql);?

?>


為愛走天涯
為愛走天涯

reply all(2)
phpcn_u83868

<?php

$servername = "localhost";

$username = "root";

$password = "root";


// Create connection

$conn = mysqli_connect($servername, $username, $password);

mysqli_set_charset($conn, 'utf8' );

mysql_select_db("article");

// Detect connection

if (!$conn) {

die("Connection failed: " . mysqli_connect_error());

}

//echo "Connection successful";

?>

The above is the content of conn.php

functions.php I don’t know what it is. I just started learning and haven’t figured out what this file is supposed to do

sky

If it is not a framework, it will be in the same directory.

There is also a problem with your database link

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template