Greetings all,
I have made a CMS for a site where the admin can update text content on the home page....
They login to the admin panel and enter a title, and the body.
However, the client wants to offer two languages now. One English, and one French..
Therefore, I made the database changes by adding one extra field called body_french and changed body to body_english...
Now the admin enters the body for both english and french...
The problem comes when I display the database information on the home page.
How should I allow the client to select between English and French?
Should I use sessions? Or should I use a simple PHP If else fucntion?
Also, if I use sessions, can someone direct me how to start? I have never used sessions.