User Login

#21
[eluser]clip[/eluser]
try changing this...
Code:
if ($checkUser == FALSE) {
            
            echo 'Password is incorrect.';
            
        }else{
           ....................
to
Code:
if ($checkUser->num_rows() < 1) {
            
            echo 'Password is incorrect.';
            
        }else{
again this is in the link I suggested you read about generating query results.

Edit: It appears it isn't being checked because get_where() returns an array of objects regardless of the number of rows fetched by your query.


Messages In This Thread
User Login - by El Forum - 11-02-2009, 05:37 PM
User Login - by El Forum - 11-02-2009, 05:47 PM
User Login - by El Forum - 11-02-2009, 06:26 PM
User Login - by El Forum - 11-02-2009, 07:19 PM
User Login - by El Forum - 11-02-2009, 09:10 PM
User Login - by El Forum - 11-02-2009, 09:12 PM
User Login - by El Forum - 11-02-2009, 09:50 PM
User Login - by El Forum - 11-02-2009, 09:58 PM
User Login - by El Forum - 11-02-2009, 10:05 PM
User Login - by El Forum - 11-02-2009, 10:07 PM
User Login - by El Forum - 11-02-2009, 10:24 PM
User Login - by El Forum - 11-03-2009, 12:19 AM
User Login - by El Forum - 11-03-2009, 04:29 PM
User Login - by El Forum - 11-03-2009, 06:51 PM
User Login - by El Forum - 11-03-2009, 07:04 PM
User Login - by El Forum - 11-03-2009, 07:37 PM
User Login - by El Forum - 11-04-2009, 03:28 PM
User Login - by El Forum - 11-04-2009, 06:55 PM
User Login - by El Forum - 11-04-2009, 07:01 PM
User Login - by El Forum - 11-05-2009, 03:22 PM
User Login - by El Forum - 11-05-2009, 04:05 PM
User Login - by El Forum - 11-05-2009, 05:41 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.