Hi guys. I've been following the tutorial for user accounts and I recently finished it. When I started to test it out I noticed two large errors and one smaller one. The first of which is this: "Parse error: syntax error, unexpected '{', expecting '(' in /home/username/public_html/register.php on line 17" Here's line 17:
if (empty{$_POST['password']) || empty($_POST['repeat_password'])){
The next issue is similar. On the login page I get this message: "Parse error: syntax error, unexpected '[', expecting T_PAAMAYIM_NEKUDOTAYIM in /home/username/public_html/login.php on line 14" and here's line
if(empty(S_POST['password'])){
If anyone could help me out it would be great.