Reformats
This commit is contained in:
@@ -14,10 +14,10 @@
|
||||
** DO NOT EDIT **
|
||||
************************************************************************
|
||||
*/
|
||||
$appname="APPNAME";
|
||||
$dbname="DBNAME";
|
||||
$username="DBUSER";
|
||||
$dbpass="DBPASS";
|
||||
$appname = "APPNAME";
|
||||
$dbname = "DBNAME";
|
||||
$username = "DBUSER";
|
||||
$dbpass = "DBPASS";
|
||||
|
||||
function dberrmsg($dbname) {
|
||||
echo "
|
||||
@@ -34,7 +34,7 @@ function dberrmsg($dbname) {
|
||||
exit();
|
||||
}
|
||||
|
||||
$db=@mysqli_connect("localhost",$username,$dbpass,$dbname);
|
||||
$db = @mysqli_connect("localhost",$username,$dbpass,$dbname);
|
||||
if (mysqli_errno($db)) {
|
||||
dberrmsg($dbname);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user