Skip to content
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

logo

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.
Or:

class mySmysql extends Smysql {
protected $host = “Server address”;
protected $user = “Username”;
protected $password = “Password”;
protected $db = “Database name”;
};
$object = new mySmysql();
Return value:
Object of extension.
Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy