This is a blog post written in the Markdown language. Markdown is an easy to write and read shorthand version of HTML.
> Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).
// check for article_id in query string if (isset($_GET['article_id']) && is_numeric($_GET['article_id'])) { $article_id = (int) $_GET['article_id']; } else { $article_id = 0; }
$sql = "SELECT title, article, DATE_FORMAT(updated, '%W, %M %D, %Y') AS updated, filename, caption FROM php_blog_blog LEFT JOIN php_blog_images USING (image_id) WHERE php_blog_blog.article_id = $article_id";