mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-05 13:37:25 +02:00
Fix code typo
This commit is contained in:
@@ -34,7 +34,7 @@ function getAllFoos($db) {
|
||||
}
|
||||
|
||||
$results = getAllFoos($db);
|
||||
foreach ($resultss as $row) {
|
||||
foreach ($results as $row) {
|
||||
echo "<li>".$row['field1']." - ".$row['field1']."</li>"; // BAD!!
|
||||
}
|
||||
{% endhighlight %}
|
||||
|
Reference in New Issue
Block a user