Function db_and
Build the SQL WHERE clause AND condition from array of conditions
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
Author: Sithu sithu@phplucidframe.com
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
Author: Sithu sithu@phplucidframe.com
Located at helpers/db_helper.mysqli.php
array |
$condition = array() |
<p>The condition array, for example</p> <pre><code>array( 'field_name_1' => $value1, 'field_name_2 >=' => $value2, 'field_name_3 => NULL ) </code></pre> <h3>Operators allowed in condition array</h3> <pre><code>>, >=, <, <=, !=, between, nbetween, like, like%%, like%~, like~%, nlike, nlike%%, nlike%~, nlike~% </code></pre> |
array
|
The built condition WHERE AND [0] string The built condition WHERE AND clause [1] array The values to bind in the condition |