REMOVED ERRONEOUS SCRIPT inquiry irrelevant
I see no session_start() in your script, you can not assign or use the session variables until you FIRST start the session.
ah- sorry-- this is just a snippet of the code-- the ?php at the beginning is false-- i was using EditPad to xx-out some words... forgot to take that off
whoa there's a bunch of code missing... fixing it though...
edit... on second thought... the code was not ready for prime time