Skip to content

Commit 1916d5b

Browse files
turbopixelturbopixel
authored andcommitted
CHANGE: readme headlines
1 parent f29eef7 commit 1916d5b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $PHPDO = new PHPDO();
1818
$PHPDO->connect("database-server.com", "database_name", "user_name", "myPassword123");
1919
```
2020

21-
#### Get instance
21+
### Get instance
2222

2323
**DB::getInstance()** returns PHPDO instance
2424
```php
@@ -31,7 +31,7 @@ DB::getInstance()->query("SELECT * FROM user")->fetchAll();
3131
$PHPDO->getPdo();
3232
```
3333

34-
#### Run MySQL query
34+
### Run MySQL query
3535

3636
**query**
3737
```php
@@ -49,14 +49,14 @@ $PHPDO->execute("UPDATE user SET active = 0 WHERE mail IS NULL");
4949
$PHPDO->prepare("SELECT id FROM user WHERE id = :userid", ["userid" => 553]);
5050
```
5151

52-
#### Helper
52+
### Helper
5353

5454
**Check table exists (MySQL only)**
5555
```php
5656
$PHPDO->isTable("user_settings")
5757
```
5858

59-
### Internal class logging
59+
## Internal class logging
6060

6161
All SQL Queries stored in PHPDO::$logs (array)
6262

0 commit comments

Comments
 (0)