07-09-2017, 12:04 PM
So basically, if you do
Then you can do
//any column you want to echo out you can just do so in the format
Code:
$query = $db->query("SELECT * FROM customers")->results();
Then you can do
Code:
foreach ($customers as $c){ ?>
Code:
<?=$c->columnName?>
Code:
<?php } ?>