Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update sample/social/list.php

  • Loading branch information...
commit 9081df4901621012eacf9ff7595d9ddd311db190 1 parent 636692a
@mstdokumaci authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 sample/social/list.php
View
6 sample/social/list.php
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.