Pull user info from mysql DB in session

Hello all,

I have a membership website which is using sessions… and ive been asked to add some promotion points system. So that each user is able to see how many promotion points they have…

Now, I’m a beginner in mysql and php, but feel I’m learning fairly quickly :slight_smile: All i need to be able to do is display the amount of promotion points for the logged in user.

I created a new field in my “essenti1_Users” table for the promotion code.

database is called “essenti1_membership”
table is “essenti1_Users”
feild is “promo”

I think im going to have to manually add the points to each user manually through phpMyAdmin Navicat unfortunatly. Unless anyone has any other ideas just for adding the points to each user account?

Sponsor our Newsletter | Privacy Policy | Terms of Service