I’m sure this must be fairly simple but can’t figure out how to do it.
I have a page with it’s own template, say mysite.com/custom. This page is handled by custom.php.
How can I set it up so that mysite.com/custom/anything is handled by custom.php?var=anything
I just need whatever comes after custom/ passing to custom.php as a string, no matter what it is.
- The topic ‘Pass end of URL as $_GET variable to template file’ is closed to new replies.