Skip to content

Use this class to create a quick, save and stable database connection to mutate.

Notifications You must be signed in to change notification settings

Fur7/StableDatabaseConnection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Stable PDO database class

Use this class to create a quick, save and stable database connection to mutate.

Set-up the class. This has to be done only once in the project.

run::Credentials("{DATABASE}","{USERNAME}","{PASSWORD}","{HOST (127.0.0.1)}","{PORT (3306)}");

To run a query after setting the credentials.

run::Query("{INSERT QUERY}");

The function will return the data, if data is returned.

$data = run::Query("{SELECT QUERY}");

About

Use this class to create a quick, save and stable database connection to mutate.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages