Thanks to the help of many on the board I am getting very close to my solution but have another question niggling me.
The following code builds a link list but the html fails to recognize the target and defaults to _blank.
for ($i=0;$i<=$nelements;$i++) {
$index_output .= "<a href=\"pages/$file_list[$i].html/\" target=\"_top\">".$file_list[$i]."<br>";
}
I have tried many combinations including setting the target to a variable to no avail.
Any suggestions?
Thanks,
Tony