Getting values from table and storing it to variable.. PHP & MySQL
I have one table which contains user_id, username, password and points columns. It is in table named "users" in database named 'admin_users".
When one successfully login, the following is set...
now, i want to store $points variable equal to points of user named "$username" , how to do it. Means (i think i wasn't clear what i wanted to say), i want to get value of column "points" from table users where username = $username....
$username = $_SESSION['username'];
I am totally confused, hope you help.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread