This is the lake boat image page. This is the lake boat image page. This is the lake boat image page. This is the lake boat image page. This is the lake boat image page. This is the lake boat image page. This is the lake boat image page.
This is the lake boat image page. This is the lake boat image page. This is the lake boat image page. This is the lake boat image page. This is the lake boat image page. This is the lake boat image page.
Debug Code
Array
(
[title] => Lake Boat
[article] => This is the lake boat image page. This is the lake boat image page. This is the lake boat image page. This is the lake boat image page. This is the lake boat image page. This is the lake boat image page. This is the lake boat image page.
This is the lake boat image page. This is the lake boat image page. This is the lake boat image page. This is the lake boat image page. This is the lake boat image page. This is the lake boat image page.
[updated] => Thursday, September 25th, 2025
[filename] => lake-boat-1758754472.jpg
[caption] => This is the lake boat.
)
Array
(
[0] => 2560
[1] => 1920
[2] => 2
[3] => width="2560" height="1920"
[bits] => 8
[channels] => 3
[mime] => image/jpeg
)
// 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";
print_r(getimagesize($image)); ?> </code> </pre> </main> <?php # The side-bar section of the layout use custom path to load from a different folder. include("sidebar.php");
# The footer section of the layout. include("../includes/footer.php"); ?>