is it possible for me to do this in php?
for my website which is in two langauages i want to have a translation for each page but i don't want to create to separate sites. i.e i don't want the user to go back to homepage when they change languages but to go directly to the current page they are viewing. So you see i need to use a variable that could store the current url and change the filename's last two letters en/jp. It has worked but i can't get the variable to be read as url when i put it in echo.
<?php echo '<a href= \"$new_link\" >japanese</a>' ;?> <br>.
thanx