Commit 87ef46b9 authored by Alexander Butenko's avatar Alexander Butenko

same

parent 1188a7fb
### Table of Contents ### Table of Contents
**[Initialization](#initialization)** **[Initialization](#initialization)**
**[Insert Query](#insert-query)** **[Insert Query](#insert-query)**
**[Update Query](#update-query)** **[Update Query](#update-query)**
**[Select Query](#select-query)** **[Select Query](#select-query)**
**[Delete Query](#delete-query)** **[Delete Query](#delete-query)**
**[Generic Query](#generic-query-method)** **[Generic Query](#generic-query-method)**
**[Raw Query](#raw-query-method)** **[Raw Query](#raw-query-method)**
**[Where Conditions](#where-method)** **[Where Conditions](#where-method)**
**[Order Conditions](#ordering-method)** **[Order Conditions](#ordering-method)**
**[Group Conditions](#grouping-method)** **[Group Conditions](#grouping-method)**
**[Properties Sharing](#properties-sharing)** **[Properties Sharing](#properties-sharing)**
**[Joining Tables](#join-method)** **[Joining Tables](#join-method)**
**[Subqueries](#subqueries)** **[Subqueries](#subqueries)**
**[Helper Functions](#helper-commands)** **[Helper Functions](#helper-commands)**
**[Transaction Helpers](#transaction-helpers)** **[Transaction Helpers](#transaction-helpers)**
### Initialization ### Initialization
To utilize this class, first import MysqliDb.php into your project, and require it. To utilize this class, first import MysqliDb.php into your project, and require it.
```php ```php
require_once('Mysqlidb.php'); require_once ('MysqliDb.php');
``` ```
After that, create a new instance of the class. After that, create a new instance of the class.
```php ```php
$db = new Mysqlidb('host', 'username', 'password', 'databaseName'); $db = new MysqliDb ('host', 'username', 'password', 'databaseName');
``` ```
Its also possible to set a table prefix: Its also possible to set a table prefix:
```php ```php
$db->setPrefix('tablePrefix'); $db->setPrefix ('my_');
``` ```
Next, prepare your data, and call the necessary methods. Next, prepare your data, and call the necessary methods.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment