robert.access Posted October 8, 2009 Share Posted October 8, 2009 Hi I have the following code: $template->set('affheadera', $affheadera); $affheaderb = header5('Invite your Friends to join today!'); How can I put this code <?=MSG_INVITE_FRIENDS;?> witch call language text from lang.php in the red position of above code to get it working? Thank you in advance! Quote Link to comment https://forums.phpfreaks.com/topic/176999-please-help-with-insertion-of-code/ Share on other sites More sharing options...
mikesta707 Posted October 8, 2009 Share Posted October 8, 2009 if lang.php is included in that page.. just put it in there... $affheaderb = header5(MSG_INVITE_FRIENDS); did you even try that? Quote Link to comment https://forums.phpfreaks.com/topic/176999-please-help-with-insertion-of-code/#findComment-933233 Share on other sites More sharing options...
robert.access Posted October 8, 2009 Author Share Posted October 8, 2009 Yes I have try that but all that I am put in there will not call from lang.php and it print to website page. Quote Link to comment https://forums.phpfreaks.com/topic/176999-please-help-with-insertion-of-code/#findComment-933235 Share on other sites More sharing options...
robert.access Posted October 8, 2009 Author Share Posted October 8, 2009 seems that I have not payd attention .Your code it's working well. THANK YOU!!! Quote Link to comment https://forums.phpfreaks.com/topic/176999-please-help-with-insertion-of-code/#findComment-933237 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.