1: 2: 3:
$text = 'SELECT text from `g_beitrag` WHERE id_forum LIKE '; $text .= $id; $text = mysql_query($text);
1:
$text = "SELECT text FROM g_beitrag WHERE id_forum = '".$id."'";
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 "$titel"; echo $this->wandlezeit($datum); echo "$benutzer\n"; } echo "