jbirch8865/databaseclass

该软件包最新版本(dev-master)没有可用的许可信息。

用于与MySQL数据库交互的PHP数据库类

dev-master 2019-07-16 22:01 UTC

This package is auto-updated.

Last update: 2024-09-17 09:53:58 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");