hello. I was just wondering, I know if I wanted to pass a variable onto another page through a query string, it would be like this:
<a href="newpage.php?name=<?urlencode($_GET['firstname')?> Link </a>
<BR></DIV><DIV> </DIV><DIV>What would the syntax be if I wanted to pass two variables? (for example firstname and lastname)</DIV><DIV> </DIV><DIV>??perhaps </DIV><DIV> </DIV><DIV>
</DIV><DIV><a href="newpage.php?name=<?urlencode($_GET['firstname and lastname'])?> Link </a>
</DIV><DIV> </DIV><DIV>If you want it to validate, you need to replace those &'s with &'s, and make sure you close the quotes (I think that was a typo).</DIV><DIV> </DIV><DIV>
Now, with Apache 4.2.x with globals OFF or ON it gives me a 404 message. Apache doesn’t “ignore” the /216/2/ anymore and thinks its an actual directory.
I don’t want to use article.php?aid=216&page=2 or use a form POST in order to be more search engine friendly.