Does anyone see any advantages / disadvantages to this:
Code:
<?
require("global.php");
mysql_pconnect($server,$user,$password);
mysql_select_db($database);
$threads=$DB_site->query("SELECT threadid,title,threadindex FROM thread WHERE visible=1 AND forumid <> 34 ORDER BY lastpost DESC");
while ($threadarray = $DB_site->fetch_array($threads)) {
$threadid = $threadarray["threadid"];
$title = $threadarray["title"];
$threadindex = $threadarray["threadindex"];
print "<a href=\"search/$threadid\">$threadindex</a><br><br>\n";
}
?>
Basically what your doing, is instead of making the title of the thread the link, your making the entire thread index (selected words from the thread) for the link.
I was thinking this would give the spider more text to chew on and in turn, would make your site turn up in more searches, but I could be wrong. Any search engine pros wanna comment?
~Chris