JustinMs66@hotmail.com Posted March 19, 2007 Share Posted March 19, 2007 ok. i have a database with alot of users and usernames because every time they go to this 1 page, it uploads the username info. each time. and i want to have a page that displays all the users and how many times they have viewed this one page. but here is where i am stuck: i dont want it to be like: - Dave - Angela - Bob - Dave i want it to be like: - Dave - 3 times - Angela - 1 time - Bob - 12 times but i dont even know where to start, can anyone help me please? Quote Link to comment Share on other sites More sharing options...
suzzane2020 Posted March 19, 2007 Share Posted March 19, 2007 For the login process you mite be using sessions for the users...with a id or the username as the session value....so on the page u want the data for, check if the session is set and if it is update the database ,set filed =+1 where username or id=session value. I hope u gt it Quote Link to comment Share on other sites More sharing options...
JustinMs66@hotmail.com Posted March 20, 2007 Author Share Posted March 20, 2007 oh i see, that would be a different way to do it. ok thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.