|
-
Jan 8th, 2011, 06:10 PM
#1
Thread Starter
Fanatic Member
Php If statement with mySql?
Hi guys, I have a database in mysql called 'Vital_vip' - Inside that is a table called 'users', In the users table it contains the usernames, passwords e.t.c of each user on my site.
It also has bit called 'Points' - Which displays users points (for my points system)
I am wondering how in php i can tell it that if the number of points in the points part for the current user logged in is below 100 - then it will display the text :
You dont have enough points
-
Hope that makes sense?
Thanks,
Jamie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|