Quote:
Originally Posted by playboy
I didnt use dreamweaver, I run a wrestling web site and have a news posting system (cutenews) and theres a code you put on your webpage which puts the news you add on to the page... Well I put it in one of the sidebars for the left_sidebar hack, but when I went to my forum home it wasn't showing, there was nothing...
<?PHP
$PHP_SELF = 'msm.php';
$category = "2";
$number = "27";
$template = "Headlines";
include("cutenews/show_news.php"); ?>
Thats the code I'm trying to add... any thoughts?
|
You can't add php code directly to the template.
What you can do is insert the php code in the phpinclude_start template, and map the output to a variable.
Then, use this variable to display whatever your code output.