Jump to content

User Login System - Struggling!


gtrufitt

Recommended Posts

Ah right, that brings this back:

 

SELECT email FROM user WHERE email = 'test' AND password = ''

 

Why does it do this?

 

Here is the form again:

 

  <form action="authenticate.php" id="login" method="post">
  <label for="username">User name:</label><input type="text" id="username" name="username" />
  <label for="password">Password:</label><input type="password" id="password" name="password />
  <p class="login"><input type="submit" name="login" value="Login" />
</form>

 

Cheers

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.