Jump to content

Cyan

New Members
  • Posts

    3
  • Joined

  • Last visited

Cyan's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Still can't figure out how to fix it... can someone help me?
  2. Hmm... that removed the (T_ELSE) error but I still got an error which is "Unidentified index: Username/Password"
  3. Just new to this website and I keep getting several errors in my "else" code. I can't seem to find wrong codes in it (I'm just a rookie in programming) My codes is here: <?php $username = $_POST['username']; $password = $_POST['password']; if ($username == '12345' and $password == '12345'); { echo '<h1> Welcome To The Site! </h1> <br> <br> <br> This site will let you post your ideas! <br>'; } else { echo 'Wrong Username and Password'; } ?> I keep having errors in bold text. Since I'm new at programming, I don't understand some errors that were shown to me in the actual site. The only error that I get is (T_ELSE) which I don't understand. So can someone help me what should I do with it since I'm just new. (I am also new to the site so I'm sorry if I did anything wrong)
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.