07-11-2017, 02:42 PM
a ha didn't realise you could do:
i normally:
<pre></pre>
foreach on $customers. learnt something new today
Code:
$customers = $db->query("SELECT * FROM customers")->results();
i normally:
<pre>
Code:
$customerQ = $db->("SELECT * FROM customers");
$customers = $customerQ->results();
foreach on $customers. learnt something new today