Hi!
. I m making a site which will retrieve tet from a mysql database. The text will be retrieved in different languages depending on what language button the user clicks on. How do I do this?
Being a newbie php, this is what i figured i should do
using a link on each language button which passes a variable via GET method. Like this
<A HREF=\"$PHP_SELF?lang=eng\">English</a>
it then reloads the page and i then set the languge variable to the selected language like this...??
$language = isset($_GET['lang']);
then uses $language to retrieve the apropriate id's in the database...
I dont seem to get this to work... I m probably doing this the wrong way and would be really glad if i could get some help on this... proably there is a totally different way to it thats better..
thanks