lingo5 Posted December 16, 2011 Share Posted December 16, 2011 Hi, I need to append a language session to a url and I am a bit confused on how to do it. What is wrong with this? <?php require_once('header_'.echo ($_SESSION['session_idioma']).'.php'); ?> Thanks Quote Link to comment https://forums.phpfreaks.com/topic/253301-please-help-with-syntax/ Share on other sites More sharing options...
SergeiSS Posted December 16, 2011 Share Posted December 16, 2011 echo is wrong here. require_once('header_'.$_SESSION['session_idioma'].'.php'); Quote Link to comment https://forums.phpfreaks.com/topic/253301-please-help-with-syntax/#findComment-1298514 Share on other sites More sharing options...
lingo5 Posted December 16, 2011 Author Share Posted December 16, 2011 Thanks SergeiSS...I always get confused with this. Quote Link to comment https://forums.phpfreaks.com/topic/253301-please-help-with-syntax/#findComment-1298516 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.