That worked. I is now inserting the session varirable like i want but now it comes up with this mysql error. I am not sure what it is confusing. It seems to not like my
mySQL Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' = users.usersID) WHERE tasks.tasksUSER='imminkb'' a
(tasks.* = users.usersID)
line Is there some other way to put that other than the way I have it?
Thanks