diff --git a/example.php b/example.php
index 8b409b4..639a4a4 100644
--- a/example.php
+++ b/example.php
@@ -18,13 +18,15 @@
$recent = $f->photos_getRecent();
-foreach ($recent['photo'] as $photo) {
- $owner = $f->people_getInfo($photo['owner']);
- echo "";
- echo $photo['title'];
- echo " Owner: ";
- echo "";
- echo $owner['username'];
- echo "
";
+foreach ($recent['photos'] as $photos) {
+ foreach ($photos as $photo) {
+ $owner = $f->people_getInfo($photo['owner']);
+ echo "";
+ echo $photo['title'];
+ echo " Owner: ";
+ echo "";
+ echo $owner['username']['_content'];
+ echo "
";
+ }
}
?>