jbirc / database-class
Database PHP class for interacting with a mysql database
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/jbirc/database-class
Requires
- jbirc/configuration-file: dev-master
This package is auto-updated.
Last update: 2025-10-17 11:34:26 UTC
README
This is the base php class for making raw communication with mysql.
the following environment variables will need to be set on the host machine to successfully connect:
MYSQL_HOSTNAME
MYSQL_USERNAME
MYSQL_PASSWORD
MYSQL_LISTENING_PORT
Create a new MySQLLink and pass the name of the database to make a connection.
example:
$MySQL = new MySQLLink('my_database');
$query = $MySQL->ExecuteSQL("SELECT * FROM my_table");