So you would think that I could search up on Google and learn all about URL encoding from all the tutorials, but I have been left seriously confused, and extremely frustrated.
Here is what I need to do:
I need to make a html link that links to a php file. the link needs to carry over a variable to the php file. (for example: mysite.com/php_file.php?variable=22)
Then, in the php file, I need to say something like...
$variable = [Whatever 'variable' equals up there in the URL] echo "Your variable is...".$variable;
Your variable is...22
But so far (even after hours of Google searches) I have absolutely no clue whatsoever on how to make this work. I have tried many different tests, but none have worked.
Can someone please help explain this to me? I know it can be done, and thats why it's so frustrating. Thank you so much in advance! :)