Ok, here is the issue I have. I have .txt files that populate the page with content. I want to go in and add a hyperlink to some of the anchor text in the text file. Obviously, if I have to split up .txt files then it will be a major pain in the behind. Here is an example of what happens when I add the <a href> tag to the .txt file. Any suggestions on how to fix this? Thanks.
I think it depends on the PHP code that gathers the content from the files, we will need it to help you.
I think this is the relevant part. I can muddle around in HTML but am very new to PHP. <? if(file_exists("files/".$page_name.".txt")) { $file_arr = file("files/".$page_name.".txt"); for($line=0;$line<sizeof($file_arr);$line++) { $curr_line = $file_arr[$line]; $str = "***"; $res = strncmp($curr_line, $str, 3); if($res==0) $i++; if($res!=0 && $i==($valpage-1)) { $res = explode(":",$file_arr[$line]); if(count($res)>1) echo '<strong>'.$res[0].' : </strong>'.$res[1].'<br/>'; else echo $curr_line.'<br/>'; } } } ?> PHP: