jbirc / database-class
There is no license information available for the latest version (dev-master) of this package.
Database PHP class for interacting with a mysql database
dev-master
2019-07-16 22:01 UTC
Requires
- jbirc/configuration-file: dev-master
This package is auto-updated.
Last update: 2024-11-17 09:41:44 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");