From 933b79a7dd10a49f469b0e73b21a30b157b0a7cc Mon Sep 17 00:00:00 2001 From: Josh Lockhart Date: Wed, 20 Jun 2018 10:34:18 -0400 Subject: [PATCH] Fix code typo --- _posts/07-04-01-Interacting-via-Code.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/07-04-01-Interacting-via-Code.md b/_posts/07-04-01-Interacting-via-Code.md index 25fe068..c335391 100644 --- a/_posts/07-04-01-Interacting-via-Code.md +++ b/_posts/07-04-01-Interacting-via-Code.md @@ -34,7 +34,7 @@ function getAllFoos($db) { } $results = getAllFoos($db); -foreach ($resultss as $row) { +foreach ($results as $row) { echo "
  • ".$row['field1']." - ".$row['field1']."
  • "; // BAD!! } {% endhighlight %}