Permalink
Browse files

Update sample/social/list.php

  • Loading branch information...
1 parent 636692a commit 9081df4901621012eacf9ff7595d9ddd311db190 @mstdokumaci committed May 23, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 sample/social/list.php
View
@@ -7,7 +7,7 @@
$user=$adb->load('user', $id);
echo '<h1>' . $user['name'] . '</h1>' . "\n";
- echo '<h2>Friends: </h1>' . "\n";
+ echo '<h2>Friends: </h2>' . "\n";
echo '<ul>' . "\n";
foreach ($user['friend'] as $fid) {
// load friend of user
@@ -16,7 +16,7 @@
}
echo '</ul>' . "\n";
- echo '<h2>Posts: </h1>' . "\n";
+ echo '<h2>Posts: </h2>' . "\n";
echo '<ul>' . "\n";
foreach ($user['post'] as $pid) {
//load post of user
@@ -32,7 +32,7 @@
if (empty($post['comment'])) continue;
echo '<div style="margin-left:20px;">' . "\n";
- echo '<h3>Comments: </h1>' . "\n";
+ echo '<h3>Comments: </h3>' . "\n";
echo '<ul>' . "\n";
foreach ($post['comment'] as $cid) {
// load comment of post

0 comments on commit 9081df4

Please sign in to comment.