1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17: | while ($data = mysql_fetch_array($sql))
{
$benutzer = $data["autor"];
$datum = $data["datum"];
$titel = $data["gegenstand"];
$id = $data["id_beitrag"];
$text = "SELECT text FROM g_beitrag WHERE id_forum = '".$id."'";
$text = mysql_query($text);
echo mysql_error();
$text = $this->vorschau($text);
echo "<tr class=\"text\"><td><a href=\"forum.php?beitrag=$id\" title=\"$text\">$titel</a></td><td>";
echo $this->wandlezeit($datum);
echo "</td><td>$benutzer</td></tr>\n";
}
echo "</table>"; |