Php login/registration error
Hi everyone,
On my site it's coming up with this error
Parse error: syntax error, unexpected $end in /home1/keyboard/public_html/Canberra Amatuer Productions/databaseedit.php on line 101
I've commented it out so I know that the error is somewhere in here
PHP Code:
<?php
mysql_connect("localhost", "****", "****") or die(mysql_error());
mysql_select_db("****") or die(mysql_error());
if (isset($_POST['submit'])) {
if (!$_POST['username'] | !$_POST['pass'] | !$_POST['pass2'] | !$_POST['age'] ) {
die('You did not complete all of the required fields');
}
Any help would be appreciated