hi friends i have facing a problem
<? define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'lang/'); define('DEFAULT_LANGUAGE',''english); ?>
these are code use in configure.php it is use in index.php with following code
<? include_once(DIR_WS_LANGUAGES.DEFAULT_LANGUAGE.'.php') ;?>
now i want to use this with select language i select language
<? if(isset($_GET['flag'])){ if ($_GET['flag']==po){ echo $_SESSION['language']=polish;} else{ echo $_SESSION['language']=english;}} ?>
now i get value language in $_SESSION but i want to get value of this session in
<? include_once(DIR_WS_LANGUAGES.DEFAULT_LANGUAGE.'.php') ;?>
instead of DEFAULT_LANGUAGE HOWS DONT KNOW
PLEASE help me