I face database connection error when I try to connect data base with the latest version of PHP : <p>Fatal error: Uncaught Error: Call to undefined function mysql_pconnect()
show this errror:</p>

<pre><code>// returns true or false
function _pconnect($argHostname, $argUsername, $argPassword, $argDatabasename)
{
    if (ADODB_PHPVER &gt;= 0x4300)
        $this-&gt;_connectionID = mysql_pconnect($argHostname,$argUsername,$argPassword,$this-&gt;clientFlags);
    else
        $this-&gt;_connectionID = mysql_pconnect($argHostname,$argUsername,$argPassword);
    if ($this-&gt;_connectionID === false) return false;
    if ($this-&gt;autoRollback) $this-&gt;RollbackTrans();
    if ($argDatabasename) return $this-&gt;SelectDB($argDatabasename);
    return true;    
}
</code></pre>

<p>show error in mysql_connect ()
so how to fix this and how to remove deprecation in the latest version of PHP.</p>
