From f0883a74b926bc1d3f9d0dd55a72adce3487deaf Mon Sep 17 00:00:00 2001 From: Florian Letsch Date: Mon, 1 Sep 2014 01:34:10 +0200 Subject: [PATCH] fixed inconsistent naming of example function --- _posts/07-02-01-Interacting-via-Code.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/07-02-01-Interacting-via-Code.md b/_posts/07-02-01-Interacting-via-Code.md index c3364e4..d330223 100644 --- a/_posts/07-02-01-Interacting-via-Code.md +++ b/_posts/07-02-01-Interacting-via-Code.md @@ -26,11 +26,11 @@ Consider the most basic step: {% highlight php %} query('SELECT * FROM table'); } -foreach (getAllFoos() as $row) { +foreach (getAllFoos($db) as $row) { echo "
  • ".$row['field1']." - ".$row['field1']."
  • "; // BAD!! } {% endhighlight %}