|
1 | 1 | ### Table of Contents |
2 | | -**[Initialization](#initialization)** |
3 | | -**[Insert Query](#insert-query)** |
4 | | -**[Update Query](#update-query)** |
5 | | -**[Select Query](#select-query)** |
6 | | -**[Delete Query](#delete-query)** |
7 | | -**[Generic Query](#generic-query-method)** |
8 | | -**[Raw Query](#raw-query-method)** |
9 | | -**[Where Conditions](#where-method)** |
10 | | -**[Order Conditions](#ordering-method)** |
11 | | -**[Group Conditions](#grouping-method)** |
12 | | -**[Properties Sharing](#properties-sharing)** |
13 | | -**[Joining Tables](#join-method)** |
14 | | -**[Subqueries](#subqueries)** |
15 | | -**[Helper Functions](#helper-commands)** |
16 | | -**[Transaction Helpers](#transaction-helpers)** |
| 2 | +**[Initialization](#initialization)** |
| 3 | +**[Insert Query](#insert-query)** |
| 4 | +**[Update Query](#update-query)** |
| 5 | +**[Select Query](#select-query)** |
| 6 | +**[Delete Query](#delete-query)** |
| 7 | +**[Generic Query](#generic-query-method)** |
| 8 | +**[Raw Query](#raw-query-method)** |
| 9 | +**[Where Conditions](#where-method)** |
| 10 | +**[Order Conditions](#ordering-method)** |
| 11 | +**[Group Conditions](#grouping-method)** |
| 12 | +**[Properties Sharing](#properties-sharing)** |
| 13 | +**[Joining Tables](#join-method)** |
| 14 | +**[Subqueries](#subqueries)** |
| 15 | +**[Helper Functions](#helper-commands)** |
| 16 | +**[Transaction Helpers](#transaction-helpers)** |
17 | 17 |
|
18 | 18 | ### Initialization |
19 | 19 | To utilize this class, first import MysqliDb.php into your project, and require it. |
20 | 20 |
|
21 | 21 | ```php |
22 | | -require_once('Mysqlidb.php'); |
| 22 | +require_once ('MysqliDb.php'); |
23 | 23 | ``` |
24 | 24 |
|
25 | 25 | After that, create a new instance of the class. |
26 | 26 |
|
27 | 27 | ```php |
28 | | -$db = new Mysqlidb('host', 'username', 'password', 'databaseName'); |
| 28 | +$db = new MysqliDb ('host', 'username', 'password', 'databaseName'); |
29 | 29 | ``` |
30 | 30 |
|
31 | 31 | Its also possible to set a table prefix: |
32 | 32 | ```php |
33 | | -$db->setPrefix('tablePrefix'); |
| 33 | +$db->setPrefix ('my_'); |
34 | 34 | ``` |
35 | 35 |
|
36 | 36 | Next, prepare your data, and call the necessary methods. |
|
0 commit comments