You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 5, 2020. It is now read-only.
ratajs edited this page Dec 19, 2017
·
3 revisions
How to run extension
First include extension file with include command.
Then create object of extension. If the parameters are missing, this extension will use defaults from php.ini.
Syntax: new Smysql([string $host = NULL, string $user = NULL, string $password = NULL[, string $database = NULL]])
Or: Smysql([string $host = NULL, string $user = NULL, string $password = NULL[, string $database = NULL[, &$object]]])
host
- Server address.
user
- Username.
password
- Password.
database
- Database name. Write create[database name] to create new database.
object
- Empty or undefined object, if it’s mentioned, method won’t return anything and object of extension will be saved in this variable.