Skip to content

Commit 0145d0c

Browse files
committed
support php version 7
# Conflicts: # config.php
2 parents 8c60eae + d186104 commit 0145d0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
$user = "root";
66
$pass = "";
77
$conn = new mysqli($host,$user,$pass,$dbname);
8+
//$conn = mysql_select_db($dbname);
89
$conn1 = new PDO("mysql:host=$host;dbname=$dbname", $user, $pass);
910
$conn1->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
1011
?>

0 commit comments

Comments
 (0)