I’m having trouble getting some PHP code to work within a page template.
The purpose of the code is to send the user to a URL based on post tags, with the options having been selected from dropdown menus.
Here is the code for the dropdown menus: http://pastebin.com/DBf96VFd
The code works if placed in a separate PHP file but is not working when placed inside a page.php template.
(I have tried using a PHP include to insert the code from the external file and that didn’t work either.)
Many thanks for any help anyone can give and let me know if you need any more info from me.
- The topic ‘Using PHP in template to create URL based on dropdown’ is closed to new replies.