Re: Is there a Wiki? Create extra pages?
This is what I have in my mypage.php and it's not displaying the database information and I'm using the identical script that I was using in 2.6 (only change is the names of the tables). The page displays, the header and footer is all there..but the content is blank...no information is being shown from the database. The header for the <table> and the <td> cells show up, so I know all that's working but the information that's supposed to be in it is not there and I'm not getting a database error...I just can't figure out why the information won't display and how to get it for member only.
Code:
<?php
session_start();
require("include/config.php");
if (!isset($_SESSION['USERNAME'])) {
Header("Location: {$config['baseurl']}/login.php");
exit(0);
}
$smarty->assign('err',$err);
$smarty->assign('msg',$msg);
$smarty->display('header.tpl');
$smarty->display('error.tpl');
===============MY PHP SCRIPT HERE WHERE IT SHOULD DISPLAY DATABASE INFORMATION================
$smarty->display('footer.tpl');
db_close();
If it's not fun, stop doing it!
Bookmarks