I want to pass some PHP variables using the URL.
I tried the following code:
link.php
All the above answers are correct, but I noticed something very important. Leaving a space between the variable and the equal sign might result in a problem. For example, (?variablename =value)
(?variablename =value)