Menu
Hi All,
Forgive me if this kind of script is already been discussed many times.
I’m not able to find the solution yet.
I’m trying to make a script that checks the current URL.
My website has different languages. If the visitor clicks the ‘language change link’ they must go to the ‘same’ page that is currently visible.
Like this:
if currentpage = welcome.php go to bonjour.php
if currentpage = contact.php go to contacter.php
Is this even possible?