Skip to content

Commit 5f75457

Browse files
authored
Update README.md
select_wh method commit
1 parent ea2e008 commit 5f75457

File tree

1 file changed

+34
-2
lines changed

1 file changed

+34
-2
lines changed

README.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ $Id = array(
110110
```php
111111
Delete Method
112112
<?php
113-
//$methodDelete = $method->Delete($tableName,$id);
113+
$methodDelete = $method->Delete($tableName,$id);
114114
?>
115115
```
116116

@@ -127,7 +127,7 @@ $tableName = "Orders";
127127
```php
128128
Select_all Method
129129
<?php
130-
//$methodSelectAll = $method->Select_all($tableName);
130+
$methodSelectAll = $method->Select_all($tableName);
131131
?>
132132
```
133133

@@ -156,6 +156,38 @@ Select_ch Method
156156
```
157157

158158

159+
#### Select_wh Method (TableName, Data = array(), Conn = array(), If = array()):
160+
161+
TableName, Data, Conn, If:
162+
163+
```php
164+
$tableName = "Orders";
165+
166+
$data = Array
167+
(
168+
"EmployeeID" => "4"
169+
);
170+
171+
$conn = Array
172+
(
173+
"!="
174+
);
175+
176+
$if = Array
177+
(
178+
"AND"
179+
);
180+
181+
```
182+
183+
```php
184+
Select_wh Method
185+
<?php
186+
$methodSelectWh = $method->Select_wh($tableName, $data, $conn, $if);
187+
?>
188+
```
189+
190+
159191

160192

161193

0 commit comments

Comments
 (0)