Magellan Linux

Contents of /alx-src/branches/alx-web-070/include/dbconn.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13242 - (show annotations) (download)
Tue Jul 9 15:21:55 2019 UTC (4 years, 9 months ago) by niro
File size: 140 byte(s)
-be compatible with php7 and mysqli
1 <?
2
3 include("error.php");
4 include("config.inc.php");
5
6 $DBCONN = mysqli_connect($dbhost, $dbuname, $dbpass, $dbname) or die ($error[0]);
7
8 ?>