Browse Source

Update README.md

Maurits van der Schee 10 years ago
parent
commit
9192639299
1 changed files with 13 additions and 8 deletions
  1. 13
    8
      README.md

+ 13
- 8
README.md View File

@@ -49,14 +49,19 @@ $api->executeCommand();
49 49
 
50 50
 These are all the configuration options and their default values:
51 51
 
52
-	- hostname: null;
53
-	- username: 'root';
54
-	- password: null;
55
-	- database:'';
56
-	- port: null;
57
-	- socket: null;
58
-	- whitelist: false;
59
-	- blacklist: false;
52
+```
53
+$api = new MySQL_CRUD_API(array(
54
+	'hostname'=>null,
55
+	'port=>null,
56
+	'socket=>null,
57
+	'username=>'root'
58
+	'password=>null,
59
+	'database:'',
60
+	'whitelist=>false,
61
+	'blacklist=>false,
62
+));
63
+$api->executeCommand();
64
+```
60 65
 
61 66
 ## Usage
62 67
 

Loading…
Cancel
Save