thanks for the relative I'll try that too. Yes I know $story is evasive for me too. From the code this is what it's suppose to be but it's always set to 0, if I manually change it to 1 or 2 than the right information comes up but still no links. First I have to figure out the $story problem. Ok, as far as I can tell $story is first used here line 113 through line 125
$story = trim($fline);
print "<tr><td>";
if ($story == "$storyid")
{
print "<b>";
}
else
{
print "<a href=\"$root/$section/$story\">";
print "[$root],[$section],[$story]";
}
$sfp = fopen("../stories/$story/meta.lst","r");
while ($sfline = fgets($sfp, 256))
$fline is defined in lines 22-26
$fp = fopen("$docroot/meta/sections.lst","r");
while ($fline = fgets($fp, 256))
{
print "<p>fline=[$fline]</p>\n";
Have you ever had that feeling that you can almost understand it..
Thanks...