I have a MySQL DB with a table Users. One of the collumns is Status. The value of this field is either 1 or 2.
1 means the user is FREE
2 means the user is PAID
I need a script that i can include in an html document that will connect to the data base and get the value. Instead of showing the value i would like it to say the info below.
If the value is 1 i would like it to show a hyperlink to an activate page.
If the value is 2 I would like it to show "You are a paid member"