"; $n = 0; while ($thread = mysql_fetch_object($result)) { show_thread($thread, $n+$offset+1); $n += 1; } echo ""; mysql_free_result($result); if ($offset==0 && $n==0) { echo "No titles found containing '$search_string'"; } } if ($_GET['bodies']) { if (! empty ($what)) { $what .= '&'; } $what .= 'bodies=1'; page_head("Messages containing '$search_string'"); $q = "select * from post where match(content) against ('$search_string') order by timestamp desc limit $offset,$count"; $result = mysql_query($q); echo mysql_error(); echo "