PDA

View Full Version : select records based on cookie value


acaciasd344844
06-22-2011, 04:56 AM
Hi Jason,

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


john

I posted this in the wrong place initially, sorry

Jason Byrnes
06-22-2011, 07:57 AM
see my reply in the other thread you started:
http://www.webassist.com/forums/showthread.php?t=21315