Web design programs - WHERE article_id= . $_GET[ article ]; $result = mysql_query($sql, $conn)
WHERE article_id= . $_GET[ article ]; $result = mysql_query($sql, $conn) or die( Could not retrieve article data; . mysql_error()); $row = mysql_fetch_array($result); $title = $row[ title ]; $body = $row[ body ]; $article = $_GET[ article ]; $authorid = $row[ author_id ]; } Load the prerequisite header.php: require_once header.php ; What follows is more standard HTML stuff. You know what htmlspecialchars() does, don t you? Of course you do. If not, go back a page or two and review. ?>