The array below won't fire I've been looking at this problem for hours and cannot seems to figure out how to print the names.
<div class="col-md-3 col-sm-3 col-xs-3">
<?php
$listResult = executeQuery("SELECT fname, lname FROM SPIFF_log WHERE id = '" . $array[id] . "'") or die("Bad query");
while ($listArray = $listResult->fetch_assoc()) {
$string = "<h4>". $listArray['fname'] . " " . $listArray['lname'] ."</h4>";
echo "<p>Hello</p>" . $string . "";
}
?>
</div>
I expect to return a string saying "Hello fname, lname"
.