Skip to content

ReneDyhr/PDO-Database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

PDO-Database

Easy way of connecting from other classes;

Add this to your construct

$this->DB = DB::getInstance();

Config File

/* MySQL settings */
define( 'DB_NAME',     'database_name' );
define( 'DB_USER',     'database_user' );
define( 'DB_PASSWORD', 'database_password' );
define( 'DB_HOST',     'localhost' );

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages