personalized welcome message
Hi all, I am having a small issue and I believe it has something to do with that my where clause in mysql that I am missing here. I am using Dreamweaver CS5 and MySQL database. I have created a log in page and my database is updating with the usernames and passwords. So thats all good. Now once they are logged into the members.php page I would like to have a Welcome logged in username, message to the top of the page. Just like the one at the top of this page.
I have created a recordset like this
SELECT username
FROM users
When I click the test button I do see all the user names in my database table called users. So it does work however its only pulling the very first username (that I entered into my database) no matter who's logged in. Which is not cool if Billy Bob or Susie Q is logged in and he/she sees a Welcome Kristy, message!
I did a simple google search and there was a post about needing to put a where clause of MM_users which I did try but but got an error message in sql about unknown column in MM_users in where clause. Could someone help point me to the right where clause if I do infact need one or what I need to change to have the welcome logged in username displayed at the top of the page. Thank you so much
Kristy S.
