![]() |
how to display an item from a db depending on whether the language is English or French? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: how to display an item from a db depending on whether the language is English or French? (/showthread.php?tid=56951) |
how to display an item from a db depending on whether the language is English or French? - El Forum - 02-01-2013 [eluser]saby[/eluser] In a database, i have a table with 2 columns: title_fr & title_en how to display the title depending on whether the language is English or French? Do i need to keep the lang in session object? if yes, how to do ? Thanks |