PHP code not working and no errors
<p>This code I wrote is not working for an unknown reason. PHP does not report any errors or warnings.</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;PHP Blog&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;?php
require 'login.php';
$db_server = mysql_connect($db_hostname, $db_username, $db_password);

if (!$db_server) die("Unable to connect to MySQL: " . mysql_error());

mysql_select_db($db_database, $db_server)
    or die("Unable to select database: " . mysql_error());
if(isset($_POST['username']) and isset($_POST['password']))
{
    $pass = "test";
    $user = "test";
        if($_POST['username'] == "test" and $_POST['password'] == "test")
        {
            echo &lt;&lt;&lt;_END
&lt;form action="post.php" method="post"&gt;&lt;pre&gt;
Title: &lt;input type="text" name="title"&gt;
Post:  &lt;textarea rows="5" cols="64" name="post"&gt;
&lt;/textarea&gt;
       &lt;input type="submit" value="Submit"&gt;
&lt;/pre&gt;&lt;/form&gt;
_END;
                if(isset($_POST['title']) and isset($_POST['post']))
                {
                    $title = $_POST['title'];
                    $post = $_POST['post'];
                    $query = "INSERT INTO blog(title,post) VALUES('$title', '$post')";
                    mysql_query($query);
                    echo 'Succesfully posted..';
                    echo '&lt;a href="blog.php"&gt;Click here&lt;/a&gt;';
                }

        }
        else
        {
            echo "Wrong Password!";
        }
}
?&gt;
</code></pre>

<p>Everything works until I set variables $_POST['title'] and $_POST['post'] by clicking the button. When I do that I just get a blank page. Help is appreciated :)</p>
