Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Asif Hassan aoeasif

🎯
Focusing
View GitHub Profile
View class.database.php
<?php
/*
* Mysql database class - only one connection alowed
*/
class Database {
private $_connection;
private static $_instance; //The single instance
private $_host = "HOSTt";
private $_username = "USERNAME";
private $_password = "PASSWORd";
You can’t perform that action at this time.