PHP 8 modifications
modifications to avoid "Deprecated" warnings in sql_connect function
This commit is contained in:
parent
c67515b7e6
commit
3eeff5cb7e
1 changed files with 7 additions and 1 deletions
|
@ -37,6 +37,12 @@ class sql_db
|
||||||
var $num_rows = array();
|
var $num_rows = array();
|
||||||
var $current_row = array();
|
var $current_row = 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)
|
function sql_connect($sqlserver, $sqluser, $sqlpassword, $database, $port = false, $persistency = false)
|
||||||
{
|
{
|
||||||
$this->persistency = $persistency;
|
$this->persistency = $persistency;
|
||||||
|
|
Loading…
Reference in a new issue