1
Apart from poor presentation and lack of liscences etc what is up with this code?
<?php require('header.php'); // We must always set our main template before including the header $xoopsOption['template_main'] = 'db_main.html'; // Include the page header require(XOOPS_ROOT_PATH.'/header.php'); $sql = ("SELECT * FROM " . $xoopsDB->prefix("games_main") ); $result=$xoopsDB->query($sql); while($myrow = $xoopsDB->fetchArray($result)) { $xoopsTpl->assign('title', $myrow['game_title']); $xoopsTpl->assign('id', $myrow['id']); } // Include the page footer require(XOOPS_ROOT_PATH.'/footer.php'); ?>