CobbyJ Posted August 28, 2009 Share Posted August 28, 2009 hey guys, im trying to import some php into my header.tpl this is the normal php im trying to put in <?include("_mysql.php"); include("_settings.php"); include("_functions.php"); ?> <?php include("login.php"); ?> so i tried this from what i read on anouther part of the forum {php}include("../_mysql.php"); include("../_settings.php"); include("../_functions.php"); {/php} {php} include("../login.php"); {/php} but no luck, im trying to intergrate parts of the cms webspell into it so i can add my login to it can any one help me out? Thanks 0 Quote Link to comment Share on other sites More sharing options...
atDev Posted August 29, 2009 Share Posted August 29, 2009 Double check your paths in the include function. Where are the files in relation to your WHMCS root/files? 0 Quote Link to comment Share on other sites More sharing options...
nimonogi Posted August 29, 2009 Share Posted August 29, 2009 {php}CODE{/php} works fine. I'm using this as well. 0 Quote Link to comment Share on other sites More sharing options...
CobbyJ Posted August 29, 2009 Author Share Posted August 29, 2009 when i add the code in just goes white. maybe its the mysql or part to the other files, im using webspell as my main cms for my site. nimonogi, you say your using the same? 0 Quote Link to comment Share on other sites More sharing options...
CobbyJ Posted August 29, 2009 Author Share Posted August 29, 2009 where ever i put the php code the html stops, theres no more code, whats going on, this {php} doesnt work at all for me 0 Quote Link to comment Share on other sites More sharing options...
GORF Posted August 29, 2009 Share Posted August 29, 2009 Try {php} echo "SOMETHING"; {/php} If that displays SOMETHING, then the tags work and the problem is in your included files. 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.