\n"; if ($result->num_rows > 0) { print "
person
action
fingerprint
\n"; while ($row = $result -> fetch_assoc()) { foreach ($row as $key => $value) { if ($value=="") { $row[$key]=" "; } } print "
"; print "
" . $row["person"] . "
"; print "
" . $row["action"] . "
"; print "
" . $row["fingerprint"] . "
"; print "
\n"; } } print "\n"; ?>