1
AliJay
i need help with some code
  • 2004/4/17 18:53

  • AliJay

  • Just popping in

  • Posts: 5

  • Since: 2004/3/31


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'); ?>

2
AliJay
Re: i need help with some code
  • 2004/4/17 19:02

  • AliJay

  • Just popping in

  • Posts: 5

  • Since: 2004/3/31


nevermind i was selecting some of the wrong fields

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!