FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » User login status?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: User login status? [message #174489 is a reply to message #174488] Tue, 14 June 2011 20:57 Go to previous messageGo to previous message
Luuk is currently offline  Luuk
Messages: 329
Registered: September 2010
Karma:
Senior Member
On 14-06-2011 22:22, Co wrote:
> I have this code that will change one field of the users record when
> he logs in:
>

one field?

> mysql_query("UPDATE myMembers SET last_log_date=now(), logged='1'
> WHERE id='$id' LIMIT 1");

The above will actually change TWO fields of the users record.

--
Luuk
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: radio button change after going to next page
Next Topic: Stats comp.lang.php (last 7 days)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 11:30:57 GMT 2024

Total time taken to generate the page: 0.04561 seconds