PHP mail() showing same email address over and over, instead of new registrant. Is this problem with my $_SESSION variables?
I set up a response email to each new dealer who registers on our site and it now works great showing the variable names inside the email body!!! (thanks to angellll at EE!)
However, now, when testing it, Even though I use different fake email addresses ((with a cc: to my email address, so that I can see what the response looks like.)) it is giving me the SAME email address over and over and over in the body of the email response.
ie: Once it started showing the email and password in the body of the email, I realized that it is showing the same one over and over, no matter who i use as a login or password. It looks like it is stuck in a time warp!! lol...
so does this have something to do with the $_SESSION variables or is it in my code?? or could it be that I am using a PC with IE and Mozilla to test, and can't completely clear out the cookies??? not sure why it would take the variable from a previous registered user, instead of the current registering user??
THANK YOU IN ADVANCE!!!