We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26b7b77 commit 791fba3Copy full SHA for 791fba3
README.md
@@ -38,8 +38,6 @@ Basic Table // use northwind
38
39
#### Insert Method (TableName, Data = array()):
40
41
-
42
43
TableName, Data:
44
45
```php
@@ -63,5 +61,37 @@ $methodInsert = $method->Insert($tableName,$data);
63
61
64
62
65
+#### Update Method (TableName, $Id = array() , Data = array()):
+
66
67
68
+TableName, Id , Data:
69
70
+```php
71
+$tableName = "Orders";
72
73
+$Id = array(
74
+ "OrderID" => "1"
75
+);
76
77
+$data = Array
78
+(
79
+ "ShipName" => "Blue",
80
+ "ShipAddress" => "Nottingham",
81
+ "ShipCity" => "UK"
82
83
+```
84
85
86
+Update Method
87
+<?php
88
+$methodUpdate = $method->Update($tableName', $id, $data);
89
+?>
90
91
92
93
94
95
96
97
0 commit comments