Posted by .:[ ikciu ]:. on 10/13/06 16:03
Hmm peter <submit@flexiwebhost.com> wrote:
> For example if you have french, english and german you may have 3
> files called:-
>
> lang_de.php
> lang_en.php
> lang_de.php
Totaly wrong
> if($_SESSION['lang'] == 'de')
> {
> require_once('lang_de.php')
> }
> elseif($_SESSION['lang'] == 'fr')
> {
> require_once('lang_fr.php')
> }
> else
> {
> require_once('lang_en.php')
> }
>
No sense
He should to use only ONE FILE - no more!
and just put in separated data to this file
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ikciu | gg: 718845 | yahoo: ikciu_irsa | www: www.e-irsa.pl
2be || !2be $this => mysql_query();
Navigation:
[Reply to this message]
|