Parse error: syntax error, unexpected '{' in C:\wamp\www\login.php on line 13
<?php include 'core/init.php'; if (user_exists('ji') === true) { echo 'exists'; } die(); if (empty($_POST) === false) { $username = $_POST['username']; $password = $_POST['password']; if (empty($username) === true || empty($password) === true { $errors[] = 'You need to enter a username and password'; } else if (user_exists($username) === false) { $errors[] = 'We can\'t find that username. Have you registered?'; } } ?> |
-
David Beroff -
[ 1 ] Thanks
SignaturePut MY voice on YOUR video: AwesomeAmericanAudio.com{{ DiscussionBoard.errors[8333185].message }} -
-
Complexity -
Thanks - 1 reply
{{ DiscussionBoard.errors[8333193].message }}-
David Beroff -
Thanks
SignaturePut MY voice on YOUR video: AwesomeAmericanAudio.com{{ DiscussionBoard.errors[8333212].message }} -
-
-
Complexity -
Thanks - 1 reply
{{ DiscussionBoard.errors[8333222].message }}-
David Beroff -
Thanks
SignaturePut MY voice on YOUR video: AwesomeAmericanAudio.com{{ DiscussionBoard.errors[8333239].message }} -
-