What I'd like to do is display 'admin_comment_1' on the users homepage (members.php) when they log in. I've done some reading on sql and have come up with the following query;
- Code: Select all
SELECT LAST(admin_comment_1) FROM table_name WHERE email=$email
Would I then use
- Code: Select all
$email=$qls->user_info['email'];
$comment=$_GET['admin_comment_1'];
To grab user's email and the appropriate admin comment?
I'm trying to feel my way through this, and sometimes I run blind
Thanks,
Eball
