Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 13241 by niro, Mon Feb 8 10:37:04 2016 UTC revision 13242 by niro, Tue Jul 9 15:21:55 2019 UTC
# Line 3  Line 3 
3  include("error.php");  include("error.php");
4  include("config.inc.php");  include("config.inc.php");
5    
6  @mysql_connect($dbhost, $dbuname, $dbpass);  $DBCONN = mysqli_connect($dbhost, $dbuname, $dbpass, $dbname) or die ($error[0]);
 @mysql_select_db("$dbname") or die ($error[0]);  
7    
8  ?>  ?>

Legend:
Removed from v.13241  
changed lines
  Added in v.13242