raggsie Posted March 8, 2011 Share Posted March 8, 2011 Hi, I have been looking everywhere for an answer and have tried so many things, but I just can get this working (There might even be a totally better way of doing this) I am using WHMCS in Spanish and English (Spanish being the default language) So in the header I want to say: If the language is English - include header.php else echo headeres.php <?php if ($language==English) { include 'header.php'; } else { include 'headeres.php'; } ?> But this is not working, just goes straight to the spanish (headeres.php) I would really appreciate some help. Thanks in advance Rache 0 Quote Link to comment 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.