Function db_find
Get a single entity result where the primary key matches the value passed in as the second parameter for the table name in the first parameter.
Package: PHPLucidFrame\Core
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Located at helpers/db_helper.mysqli.php
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Located at helpers/db_helper.mysqli.php
string |
$table |
The table name to fetch data from |
integer |
$id |
The value of the primary key to match |
object|null
|
object|null |