select records based on cookie value
You helped me out last time, so here goes. I did look for my older posts but couldnt find them. One of my clients wants their field operatives to be able to view tomorrows work on the login screen before the user has logged in. So using a cookie I can store the users name after the initial login. What I need to know is how do I call the cookie username and compare it to the name held in the database.
for example WHERE appointments.date >= DATE_SUB(CURDATE(),INTERVAL 1 DAY) and employees.emp_name = colname1
Sorry if you have told me before but thanks again
I posted this in the wrong place initially, sorry