Monday, December 29, 2008

scrolling news in runcms

global $db;
$table=$db->prefix("topics");
$rt= new XoopsTopic($table,0);
$topics=$rt->getAllChildTopics();
?>




foreach($topics as $topic)
{
echo $topic->topic_title;
}
?>

No comments:

Post a Comment