Jump to content

[SOLVED] switch between 2 types of pages


gevo12321

Recommended Posts

ok so i have many pages in the website and i also have the exact same pages in a different language.

 

i want to be able to switch between the 2 different language pages by clicking a button.

 

any suggestions on how i should do it? other than manually puting in the link

Link to comment
https://forums.phpfreaks.com/topic/122825-solved-switch-between-2-types-of-pages/
Share on other sites

Use sessions. Keep a session variable to store the language. Keep different folders for each language. Like for english say folder named 'en' and for spanish 'es'. Keep the file names same and depending on the language session variable change the folder.

 

Regards

Ranju

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.