Sorry about the title, I couldn't think of a title.
So right now I'm working on a user system for a website. So far all I have are the id, username, and pw parts of the table. I'm trying to find out if I can add a rank system too.
Kinda like the codecall thing, you start as a "newbie" then after you reach a certain number of posts you advance to "learning programmer" and so on. I want to add something similar. How would I make the title change after that user reaches a certain goal. I coudn't think of an example either so I had to use codecall.
How would I make words in a table change after a thing is met?
Started by toxifyshadow, Mar 30 2010 07:35 PM
3 replies to this topic
#1
Posted 30 March 2010 - 07:35 PM
|
|
|
#2
Posted 31 March 2010 - 09:58 AM
You would use an update statement.
#3
Posted 31 March 2010 - 03:42 PM
Ok.
#4
Posted 06 April 2010 - 02:39 AM
Yes, you would use an UPDATE statement after you had determined that the user had first achieved something (number of posts for example). You first need to determine what your criteria is to perform whatever update.


Sign In
Create Account


Back to top









