|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Earn Points
win98, localhost
i have an image gallery script that allow me to rate images. i need to let users : 1. earn points when they visit 2. earn points when they post pics only REGISTERED users will be able to do this. i'm clueless. please help. ![]() |
|
#2
|
|||
|
|||
|
Well, if this is for registered users, I am guessing you have the users info in a DB.
Just make another field in your DB in your users table - and query an UPDATE to add points to the users field.....
__________________
~ Joe Penn We work for free to help make this a valuable resource on the internet. Do you appreciate the help - did we provide help that will help you prosper and help that has contributed to sharpening your current skill set? Show your appreciation and purchase something from our Amazon Wishlist's - it's simple and a great way to say thank you. |
|
#3
|
|||
|
|||
|
Quote:
i have only one table(for the photo information and ratings). are you saying that i should have a separate table(for user) or are you saying that i should add the 'points' and 'user' fields to the present table? |
|
#4
|
|||
|
|||
|
If the users are earning points, certainly you have a DB set up with registered users, correct?
That was the table I was referring to..... ![]() |
|
#5
|
|||
|
|||
|
right ok, thanks
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Earn Points |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|