sqlsrv_close example

public function reconnect()
    {
        $this->close();
        $this->initialize();
    }

    /** * Close the database connection. */
    protected function _close()
    {
        sqlsrv_close($this->connID);
    }

    /** * Platform-dependant string escape */
    protected function _escapeString(string $str): string
    {
        return str_replace("'", "''", remove_invisible_characters($str, false));
    }

    /** * Insert ID */
Home | Imprint | This part of the site doesn't use cookies.