I'm using PHPLib templates and I get a notice about an undefined index for one of my template names. This only happens when I'm formating a table, IE:
while ( $row = mysql_fetch_array($result) ) {
$tpl->set_var("FILENAME", "<a href=\"dl_clip.php?id=" . $row["ID"] . "\">" . $row["filename"] . "</a>");
$tpl->parse('FILES', "file_row", "true");
}
It's saying that 'FILES' is an undefined index, and the error is in "templates.inc" at line 210. I don't want to screw around with templates.inc and I don't want to turn errors or notices off. I have a few questions then, how important are notices and what is an undefined index? How can I fix this problem, and why does it only happen when I'm creating a table?