Is this line
$query_update_last_login = ("UPDATE `members` set `login_count` = $login_count where `memberid`=$memberid") or die(mysql_error());
You are not actually executing a query change this line to the following:
$query_update_last_login = "UPDATE `members` set `login_count` = $login_count where `memberid`=$memberid";
mysql_query($query_update_last_login ) or die(mysql_error());
Hope that helps :)
mikulucky
Junior Poster in Training
85 posts since Jan 2012
Reputation Points: 41
Solved Threads: 13
No problem, it is easy to get caught up in other things. If it has worked please mark thread as solved and give rep as appropriate.
Thanks
mikulucky
Junior Poster in Training
85 posts since Jan 2012
Reputation Points: 41
Solved Threads: 13