azmi
25.02.2004, 21:03
Ich brauche mal einen Fachmann :D
Das ist der Quelltext vom Last Post X
Leider macht er nicht das, was ich möchte...
Der Text wird normal angezeigt, aber antwortet jemand darauf,
wird dann der neue Text angezeigt.
So sollte es sein:
IMMER den Text vom 1. (!) Beitrag
Ich bin nicht fit in solchen Sachen.
Könnt Ihr mir helfen?
Danke schon mal im Voraus
[PHP]
TEXT
if ($showmessages == "1") {
$query0 = "SELECT pagetext,postid,dateline,iconid FROM post WHERE threadid='$threads[threadid]' ORDER BY dateline DESC LIMIT 1";
$lastpost = mysql_query($query0) or die("MySQL reported this error while trying to retrieve the last post info: ".mysql_error());
while ($lastpost1 = mysql_fetch_array($lastpost)) {
$lastpostshort = $lastpost1[pagetext];
$postii = $lastpost1[iconid];
}
Das ist der Quelltext vom Last Post X
Leider macht er nicht das, was ich möchte...
Der Text wird normal angezeigt, aber antwortet jemand darauf,
wird dann der neue Text angezeigt.
So sollte es sein:
IMMER den Text vom 1. (!) Beitrag
Ich bin nicht fit in solchen Sachen.
Könnt Ihr mir helfen?
Danke schon mal im Voraus
[PHP]
TEXT
if ($showmessages == "1") {
$query0 = "SELECT pagetext,postid,dateline,iconid FROM post WHERE threadid='$threads[threadid]' ORDER BY dateline DESC LIMIT 1";
$lastpost = mysql_query($query0) or die("MySQL reported this error while trying to retrieve the last post info: ".mysql_error());
while ($lastpost1 = mysql_fetch_array($lastpost)) {
$lastpostshort = $lastpost1[pagetext];
$postii = $lastpost1[iconid];
}