Question if statments


#1

Ok I have a page that I log in using adldap to log in with and when it goes to the logged in page I need it to go to MySQL database and see if the people have logged in today or if they have logged out and for it to show me the correct button that is need if they are logged in with a time stamp from today I need it to show me the Logout button is that possible?


#2

Yes, that’s possible.