Hello ppl,
I made a website in two languages and everything is fine except the "change language button" 🙁 .
The site does not have many files, it's all based on index.php and includes inside it some other files ... like main , products, contatc , about us ... the url looks like this www.mysite.com/index.php?page=products&id=3&language=en
The button with the language it has this code
<a href="<?echo "$PHP_SELF?language=$new_lang";?>">..
the problem is with the other variables .. how can I see all variables from an url ..because in some pages can be many in other can be only 2 ..
I want something easier than checking every variable I used on this site urls .. using isset ...
can I do this or I need to check everything with isset ?
10x
10x in advance