Skip to content

Instantly share code, notes, and snippets.

@walesmd
Created January 31, 2009 09:58
Show Gist options
  • Save walesmd/55503 to your computer and use it in GitHub Desktop.
Save walesmd/55503 to your computer and use it in GitHub Desktop.
<?php if ($user !== FALSE): ?>
<ul>
<li>Username: <?php echo $user->username; ?></li>
<li>Joined: <?php echo date('Y-m-md', $user->created_on); ?></li>
</ul>
<?php else: ?>
<p>There is no user with that username. See <?php echo anchor('users/all', 'all users'); ?>.</p>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment