Your comment has been updated.
'; } else { error_log("\n".mysql_error()."\n", 3, "/tmp/phplog.err"); $success_msg = 'Something went wrong.
'; } } else { // Get the comment header and comment $comment_id = $_GET['comment_id']; $query = "SELECT comment_header, comment FROM comments WHERE ID = $comment_id"; $result = mysql_query($query); $comment_arr = mysql_fetch_array($result); $comment_header = stripslashes($comment_arr[0]); $comment = stripslashes($comment_arr[1]); } $thispage = $_SERVER['PHP_SELF']; // Have to do this for heredoc $form_page = <<< EOFORMPAGE
Comment edit$success_msg |