Fix code typo

This commit is contained in:
Josh Lockhart
2018-06-20 10:34:18 -04:00
parent 8dcaf1e645
commit 933b79a7dd

View File

@@ -34,7 +34,7 @@ function getAllFoos($db) {
} }
$results = getAllFoos($db); $results = getAllFoos($db);
foreach ($resultss as $row) { foreach ($results as $row) {
echo "<li>".$row['field1']." - ".$row['field1']."</li>"; // BAD!! echo "<li>".$row['field1']." - ".$row['field1']."</li>"; // BAD!!
} }
{% endhighlight %} {% endhighlight %}