jbirc / database-class
该软件包最新版本(dev-master)没有可用的许可信息。
用于与MySQL数据库交互的数据库PHP类
dev-master
2019-07-16 22:01 UTC
Requires
- jbirc/configuration-file: dev-master
This package is auto-updated.
Last update: 2024-09-17 09:13:02 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");