View Full Version : Postnuke help?

03-27-2003, 06:21 AM
Not even sure if this is covered here, but I'm playing with postnuke and can't seem to get a link to work right.

The first thing i'm doing is make a require of the file_defs.php as:

require 'file_defs.php'; This file looks like this:
$query = "SELECT latest_week FROM week_index WHERE season=2003";
$result = mysql_query($query);
$row = mysql_fetch_row($result);
if (!isset($week)) {
$lastweek = $week;
else $lastweek = $row[0];
if (!isset($report)) $report=0;
$SYWC = "03";
if ($week < 10) $SYWC .= "0";
$SYWC .= $week;
$ext = ".php?week=".$week."&report=";
$FL[0] = "_standings".$ext."0";
The finally, i'm trying to call my first link like this:

echo "<a href=\"$antes.$SYWC.$FL[0].$options\">Scores and Standings</a>\n";
Does this look right? I've been trying for days to get this to work, and I'm still stuck on it.