Page is a not externally linkable
henry0 - 3:20 pm on May 23, 2008 (gmt 0)
$content_page_name .= ''; and each includes (you will need to create yours)
Your problem is almost certainly due to the fact that the template is called by a class
that calls a bunch of "sections"
so figure out if there is a class and what the class calls for.
you might find something like:
include "../../includes/page_name.inc.php";
$page->SetParameter("PAGE_NAME",$content_page_name );
might look like this:
$db = new MySQL_Db;
$db->connect($host, $un, $pw);
$db->query($db_db);
$result = $db->query("
SELECT main_content
FROM #*$!#*$!
WHERE
topic_id='$topic_id'
");
while($new_content= $db->fetch_array($result))
{
$content_main_content.= $new_content['main_content'];
}