PHP 8 modifications
modifications to avoid "Deprecated" warnings in sql_connect function
This commit is contained in:
parent
5abe272660
commit
a877f1ced8
1 changed files with 7 additions and 1 deletions
|
@ -31,6 +31,12 @@ class sql_db
|
|||
var $num_queries = 0;
|
||||
var $open_queries = array();
|
||||
|
||||
/* 2023-12-20 modifications to avoid "Deprecated" warnings in sql_connect function*/
|
||||
var $user;
|
||||
var $persistency;
|
||||
var $dbname;
|
||||
var $server;
|
||||
/*2023-12-20 end */
|
||||
function sql_connect($sqlserver, $sqluser, $sqlpassword, $database, $port = false, $persistency = false)
|
||||
{
|
||||
$this->connect_string = '';
|
||||
|
@ -594,4 +600,4 @@ class sql_db
|
|||
|
||||
} // if ... defined
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue