Hi all... I've a 'help me learn' type question.. I've got to do a site in 2 languages... My first thought was to simply set a session variable for each language, and then have an include page like this:
if lang == english then $textWelome = "Welcome"; else if lang == chinese then $textWelome = "Ni Hao"; etc... However, I've seen sites (PHPMyAdmin springs to mind?) where the language include uses DEFINE.. What is the difference, and why is one better than the other..? -- When a person can no longer laugh at himself, it is time for others to laugh at him. Thomas Szasz ____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or use the web interface http://e-newsletters.internet.com/discussionlists.html/ Send Your Posts To: [email protected] To change subscription settings, add a password or view the web interface: http://intm-dl.sparklist.com/read/?forum=wdvltalk ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
