<?php include_once 'config.inc.php'; include_once 'classes/Posts.class.php'; $id = $_GET['id']; $posty = new posts(); $result = $posty->get_img($id); //pobranie postow z bazy danych $link = $result[0]['link']; $description = ""; $img = "uploads/" . $link; ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="title" content="<?php echo $description; ?> " /> <meta name="description" content="Kerwa.pl" /> <link rel="image_src" href="<?php echo $img; ?> " /> <link rel="stylesheet" type="text/css" href="styles/style.css" /> <!-- <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> --> <title>Wezogarnij.pl</title> </head>