Permalink
Browse files

corrected line 38 from li -> li_ele from foreach

  • Loading branch information...
Bill Ortell
Bill Ortell committed Apr 5, 2012
1 parent f44eeba commit 9636fcb55289641e8ffef170cb79f03f7997127d
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/techniques.php
View
@@ -35,7 +35,7 @@
// Iterate over elements as DOMNodes:
foreach ($qp->get() as $li_ele) {
- print $li->tagName . PHP_EOL; // Prints 'li' five times.
+ print $li_ele->tagName . PHP_EOL; // Prints 'li' five times.
}
// Iterate over elements as QueryPath objects

0 comments on commit 9636fcb

Please sign in to comment.