Skip to content

Commit 791fba3

Browse files
authored
Update README.md
Update commit
1 parent 26b7b77 commit 791fba3

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed

README.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ Basic Table // use northwind
3838

3939
#### Insert Method (TableName, Data = array()):
4040

41-
42-
4341
TableName, Data:
4442

4543
```php
@@ -63,5 +61,37 @@ $methodInsert = $method->Insert($tableName,$data);
6361

6462

6563

64+
#### Update Method (TableName, $Id = array() , Data = array()):
65+
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+
```php
86+
Update Method
87+
<?php
88+
$methodUpdate = $method->Update($tableName', $id, $data);
89+
?>
90+
```
91+
92+
93+
94+
95+
6696

6797

0 commit comments

Comments
 (0)