My page is showing just a white page with no content but the code specifically shows content. Please note that it only happened when there was PHP in the form but that's needed for the system to work.
<html>
<head>
<title>Register - Admin Panel</title>
</head>
<body>
<?php include 'connect.php'; ?>
<?php include 'functions.php'; ?>
<?php include 'title_bar.php'; ?>
<h3>Register Here : </h3>
<form method='post'>
<?php
if (isset($_POST['submit'])){
$username = $_POST['username'];
$password = md5($_POST['password']);
if (empty($username) or empty($password));{
echo "<p>Fields Empty</p>";
}else {
mysql_query("INSERT INTO user VALUES('', '$username', '$password', '2', '')");
echo "<p>Successfully Registered!"</p>";
}
}
?>
User Name: <br/>
<input type='text' name='username' />
<br/><br/>
Password: <br/>
<input type='password' name='password' />
<br/><br/>
<input type='submit' name='submit' value='Register' />
</form>
</body>
</html>