12-10-2016, 03:31 PM
The following code..
<pre></pre>
returns a value of 1 even though the table is empty. I was expecting it to return 0.
<pre>
Code:
$db = DB::getInstance();
$poolsQ = $db->query("SELECT pool_id, wormhole_id FROM pools WHERE user_id = ?",$currentUser->id);
$poolsC = $poolsQ->count();
returns a value of 1 even though the table
Code:
pools