gtrufitt Posted March 6, 2008 Author Share Posted March 6, 2008 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 Link to comment https://forums.phpfreaks.com/topic/94749-user-login-system-struggling/page/2/#findComment-485298 Share on other sites More sharing options...
gtrufitt Posted March 6, 2008 Author Share Posted March 6, 2008 How stupid! I missed off the end quote in the form! Something so simple, caused so much problems! Thanks for your help everyone. Im sure I will be back soon, you'll be glad to hear! Cheers Link to comment https://forums.phpfreaks.com/topic/94749-user-login-system-struggling/page/2/#findComment-485299 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.