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 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'); 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. Link to comment https://forums.phpfreaks.com/topic/253301-please-help-with-syntax/#findComment-1298516 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.