passing a query using href=? and php
I am trying to pass variable contents using:
<a href="test2.php?test=test">This is a test</a>
However, when I:
in test2.php, it prints nothing. I don't have a clue what I am doing wrong as I have never tryd this before. I'm not feeling very tall right now. Anyone have some suggestions?
URL's are passed via the get method, not post.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Thankyou thankyou. I will try that.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)