D
Demon Ruin
Guest
How do i get a variable from a form I entered on a previous page into the script I'm running on my next page? I'm using method="post" on the form and I'm recalling the variables by $switch=$_POST['value']
My problem arises when I go to an external link. I've tried an include() and a <script></script>, but I cant recall the variables to the script that's external.
I'm trying to use it as a some form of security to hide email addresses because when i set up the real site there will be a lot. Is there a way I can get my variable out to that script? I also use that variable for a switch statement in the external if that helps. The external is going to read a drop down menu, then pick a set of emails to mail to using a switch command if i get it running properly.
I've tried session variables as well, but I cant seem to use them either.
My problem arises when I go to an external link. I've tried an include() and a <script></script>, but I cant recall the variables to the script that's external.
I'm trying to use it as a some form of security to hide email addresses because when i set up the real site there will be a lot. Is there a way I can get my variable out to that script? I also use that variable for a switch statement in the external if that helps. The external is going to read a drop down menu, then pick a set of emails to mail to using a switch command if i get it running properly.
I've tried session variables as well, but I cant seem to use them either.