...

View Full Version : Last 5 visitors on page



yairnazz
02-24-2012, 08:55 PM
Hello. can someone help me out.

I'm trying to add a list of the last 5 users to view a webpage using php and mySQL. any ideas?

I already have a script on the page to see if a user is logged in. Im just looking for the scripting to create a list of the last 5 users to visit the page and then retrieve the list on another page.

If you really want Ill give someone a few dollars to do this.

Thanks in Advance.

A1dfw
02-25-2012, 06:40 AM
if you are using wordpress, you may use most-recent-visitors plugin. Or, you may have a look into this plugin to get an idea.

chose
02-25-2012, 07:08 PM
for such things like this... I'd recommend keeping info about last 5 users in file

yairnazz
02-26-2012, 12:13 AM
I'm not using wordpress. I thought that creating a database where as the ids in each table grow. Every id values lower than the top 5 ids are continuously deleted.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum