Parse error: syntax error unexpected 'echo'
This error pops for the following line:
PHP Code:
<?php if(isset ($error)) (echo '<div id="login-errors">'.$error.'</div>'); ?>
EDIT
If I change "echo" to "print" it returnes no errors, but then it messes up the page layout and prints the following in the upper left corner:
PHP Code:
array (size=3)
'username' => string 'dfdf' (length=4)
'password' => string 'dfdfd' (length=5)
'logintoadmincenter' => string 'Login' (length=5)
However, it does do somewhat, what it should be doing which is "print" 'Invalid Credentials' in the DIV.