hi. i have some code to write the links onto the page from a text file.
the text file links.lst contains text in this format.
http://www.visualbasicforum.com
main
VB Forum
http://www.lyricfind.com/
blank
Lyric Find
the problem is that the target bit doesn't work. but everything else is fine.
the code i currently have is as follows
<?PHP
$filename = "links.lst";
$a = file($filename);
Print "<table width=100% height=100% border=0 cellspacing=0 cellpadding=0 onMouseover=\"borderize_on(event)\" onMouseout=\"borderize_off(event)\">";
for ($i=0; $i<count($a); $i+=3) {
Print "<tr><td class=\"menulines\"><a target=\"".$a[$i+1]."\" href=\"".$a[$i]."\">  ".$a[$i+2]."</a></td></tr>";
}
Print "</table>";
?>
if anyone could help me with this i would really apreasiate it
thanks
chris colden