View Full Version : http://www.domain.com/?page=home&lang=eng

03-19-2003, 01:02 PM
Hey all!

Okay, so I'm really a NEWBIE in the PHP coding stuff, so I would really appreciate you all if you could help me. Well, I'm making a website that will be available in three different languages, and therefor I'd wish someone could explain to me how I could do it, using this model: http://www.domain.com/?page=home&lang=eng.

Is it hard to make? Will I save time if I make the website in PHP, regardning the three different languages? Thankies!


03-19-2003, 01:15 PM
All depends on what you're using for each language, whether it's just fields in a database, templates, txt files, etc, but you get the language by using

if($_GET[lang] == "eng"){
// do whatever to get english results
elseif($_GET[lang] == "fra"){
// do whatever to get french results