|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
users online
okay, i've got a script that shows the number of users online, and then it tells you how many are guests and how many members, then show who the members are. The way i do this, is check a table which logs the ip's, and also the login cookie if it is there. Although, cant figure out the SQL statement which selects all rows where the cookie is set. This is what i have so far
however, this still selects rows where the cookie column is blank sorry if that wasnt too clear, but any ideas? |
|
#2
|
|||
|
|||
|
RE: users online
SELECT DISTINCT cookie FROM useronline WHERE cookie IS NOT NULL AND cookie <> ''
|
|
#3
|
|||
|
|||
|
RE: users online
cheers dude, works like a charm
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > users online |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|