<?php //just to turn on the pretty colors <link>".$base."forum/viewthread.php?".$rstart."forum_id=".$row['forum_id']."&thread_id=".$row['thread_id']."#post_".$row['post_id']."</link>\n ?>
The problem lies at the forum_id - & segment of the code. Instead of returning something like:
Any ideas on why this is screwing up? And I haven't changed the code in months, so it's not as though I screwed it up by tweaking it myself.