mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-06 14:06:34 +02:00
Fix code typo
This commit is contained in:
@@ -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 %}
|
||||||
|
Reference in New Issue
Block a user