tobyw_1969
07-10-2003, 12:30 AM
I'm really struggling with this whole thing.
I am calling a PHP page from an HTML page like this
<a href = "page.php?var1=xxx&var2=xxx">
But when I do that it shows up all the variables in the address bars. I know there is a method "POST" instead of "GET"..but the only way I know to change that is using a form....
If I am just using an href link like this, is there a way to make it so that the variables won't show up in the URL bar?
I tried to do this..
<a href="page.php?var1=xxx" method="POST">
But that doesn't make any difference - was just a guess...is there a simple way to do this, or can I only hide the variables if I am using a form?
Thanks a lot.
Toby
I am calling a PHP page from an HTML page like this
<a href = "page.php?var1=xxx&var2=xxx">
But when I do that it shows up all the variables in the address bars. I know there is a method "POST" instead of "GET"..but the only way I know to change that is using a form....
If I am just using an href link like this, is there a way to make it so that the variables won't show up in the URL bar?
I tried to do this..
<a href="page.php?var1=xxx" method="POST">
But that doesn't make any difference - was just a guess...is there a simple way to do this, or can I only hide the variables if I am using a form?
Thanks a lot.
Toby