Hi all
I want to avoid using JS at all costs for a small site and I need to create a go back button.
I want to use the $_SERVER['REQUEST_URI'] but how would I remove the last part of the URI off in order to apply this to the href part of my go back button link?
Example, my URL is as follows:
http://www.mysite.com/section1/page1/details1
And I want the href of the button to be:
/section1/page1
Any suggestions?
Cheers
Doug