I must have forgotten how arguments work because this isn't working for me. If this file is called:
mysite.com/test.php
And I use this in the browser:
mysite.com/test.php?option=home
Shouldn't the output be:
Instead I'm just getting:
Am I forgetting a step? Or could it be something about how my site is configured?
mysite.com/test.php
And I use this in the browser:
mysite.com/test.php?option=home
PHP Code:
<?php
echo "<p>The option is \"$option\"</p>";
?>
Code:
The option is "home"
Code:
The option is ""
Comment