Skip to content

Instantly share code, notes, and snippets.

@Rokt33r
Created March 29, 2014 17:15
Show Gist options
  • Save Rokt33r/9858302 to your computer and use it in GitHub Desktop.
Save Rokt33r/9858302 to your computer and use it in GitHub Desktop.
Laravel 基礎 Lesson 4 - DB (app/views/posts/show.php)
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<h1><?php echo $post->title ?></h1>
<p><?php echo $post->body ?></p>
<a href="./">back to list</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment