Its basically a page that a user gets taken to after they login. Then after the canges to the table are made ie update last login and hopefully the usertype if it has expired.
I have my table ipals_members which contains the login info, email and the join date, last login date and upgrade expires date.
It changes the last login date like i need, but i cant get any code to check the users type basic (1) and premium (2) and then change the info acordingly.
If the user is a usertype 2 and the upgrade has expired they get taken down to usertype 1 (Basic). If the upgrade is still valid it stays the same. If they are a basic member there are no changes needed as they dont have an expire date.
Just a simple page to make these changes basically!
That last piece of code didnt work either. hum......