Refresh same window after pressing button

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mamoman
Forum Newbie
Posts: 5
Joined: Sun Mar 19, 2006 6:18 am

Refresh same window after pressing button

Post by mamoman »

Hello,

I want to make a multi language page which means when people click on a button the language on the page changes (text changes)

any idea how I can refresh the page with the new language text ?

thnx
/Mamoman
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

exactly the same way you've call up different dynamic content, you set a variable to know what language to display. This variable could be internal to your scripts or externally visible in the URL or any number of other things.
Post Reply