Paste what the error is, does that block come inside a function, or if statement, as there's that brace dangling at the bottom.
Also use heredoc syntax (do a search) for massive evil blocks of html to avoid having to do \" all the time - for your code
echo <<< EOF
<html>
<head>
<title>New blog entry</title>
</head>
<body>
<p>Ecclesia Student Blogs<br>
<h1>Post your new blog entry</h1>
<form method=post action="$_SERVER[PHP_SELF]">
<p><strong>Your E-Mail Address:</strong><br>
<input type="text" name="blogpost_owner" size=40 maxlength=150>
<P><strong>Post Text:</strong><br>
<textarea name="blogpost_text" rows=8 cols=40 wrap=virtual></textarea>
<input type="hidden" name="op" value="addpost">
<input type="hidden" name="blogtopic_id" value="$blogtopic_id">
<P><input type="submit" name="submit" value="Add Entry"></p>
</form>
</body>
</html>
EOF
That EOF must be on a line on its own with nothing before it, doesn't have to be EOF, can be anything as long as it matches the opening <<< WHATEVER