Skip to content

Commit fe11969

Browse files
author
Radovan Janjic
committed
Update README.md
1 parent cc3bb85 commit fe11969

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

README.md

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,25 +32,17 @@ define('MySQL_DB', 'test');
3232

3333
*Connect to a given MySQL server*
3434
```php
35-
36-
// Example 1
37-
// Connection example
38-
//
39-
4035
$db = new MySQL_wrapper(MySQL_HOST, MySQL_USER, MySQL_PASS, MySQL_DB);
4136

4237
// Connect
4338
$db->connect();
4439

4540
// Close connection
4641
$db->close();
42+
```
4743

48-
49-
//
50-
// Example 2
51-
// Connection example
52-
//
53-
44+
*Connection example*
45+
```php
5446
$db = new MySQL_wrapper;
5547

5648
// Connect 1
@@ -82,11 +74,10 @@ $db->connect(true);
8274

8375
// Close connection 3
8476
$db->close();
77+
```
8578

86-
// Example 3
87-
// Connection example multi host, db manipulation
88-
///////////////////////////////////////////////////////////////////////////////////////////
89-
79+
*Connection example multi host, db manipulation*
80+
```php
9081
// Inst. 1
9182
$db1 = new MySQL_wrapper(MySQL_HOST, MySQL_USER, MySQL_PASS, MySQL_DB);
9283

0 commit comments

Comments
 (0)