11-21-2007, 06:45 PM
|
#12 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
Returned this:
Code:
SELECT `user_id` FROM `users` WHERE `user_session` = '6dcf1236d6dddf1aed86625d22af0e78' LIMIT 1
The problem(I think) was that it didn't find anything. Because when I did a @mysql_num_rows the code in index.php was working...
php Code:
if(! $tanaxia[ 'user']-> user_is_logged_in()) {echo 'Not logged in!'; }else {echo 'Logged in'; }
And it echoed not logged in.. so I guess it worked? :P
|
|
|
|