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.
2 parents 1853907 + fba2cdd commit 949996fCopy full SHA for 949996f
dbObject.md
@@ -45,15 +45,15 @@ Retrieving objects from the database is pretty much the same process as a mysqli
45
```php
46
//$users = dbObject::table('users')->get();
47
$users = user::get();
48
-foreach (users as $u) {
+foreach ($users as $u) {
49
echo $u->login;
50
}
51
```
52
53
## Using Where Condition And A Limit
54
55
$users = user::where("login", "demo")->get(Array (10, 20));
56
-foreach (users as $u) ...
+foreach ($users as $u) ...
57
58
59
##Retrieving A Model By Primary Key
0 commit comments