$zobrazeny_web = "web"; include "class_database.php"; include "class_dbaccess.php"; $db = new DB(); $clanek = $db -> SQL("SELECT clanky.*, DATE_FORMAT(clanky.datum, '%d.%m.%Y') as datumForm FROM clanky WHERE id='".$_GET['id']."' LIMIT 1"); ?>