include "./blocks/db.php"; if (isset($_GET['id'])) {$id = (int)$_GET['id'];} else {header("Location: /"); exit;} $result = mysql_query("SELECT * FROM `dt` WHERE `id` = '$id' ", $db); if (mysql_num_rows($result) == 0) {header("Location: /"); exit;} $myrow = mysql_fetch_assoc($result); ?>
%s
',$row0['id'],$row0['id'],$row0['title'],$row0['text']); } ?>