Skip to content

Instantly share code, notes, and snippets.

View aoeasif's full-sized avatar
🎯
Focusing

Asif Hassan aoeasif

🎯
Focusing
  • Dhaka, Bangladesh
View GitHub Profile
<?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";