Hallo. Ich arbeite an einem Private Nachrichten System und will ungelesene Nachrichten mit ein paar Extras austatten.
Mein Code dazu:
	
Mein Problem ist jetzt, dass wenn eine neue Nachricht da ist, gleich alle fett markiert werden.
Wie mach ich das?
MfG Oli
					Mein Code dazu:
PHP Code:
	
	
[--Abfrage--]
while($row = $db->fetch_array())
                {
                    $vonid = $row[vonid];
                    $time = date("d.m.Y", $row[time]);
                    $time .= " - ".date("h:i:s", $row[time])." Uhr";
                    $pmid = $row[pmid];
                    if(!$row[readd]) {$strong = "<strong>Neu: "; $strong2 = "</strong>";}
                    eval ("\$pmbit .= \"".gettemplate("pmbit")."\";");
                } 
Wie mach ich das?
MfG Oli
 
          
 Moderator
 Moderator 
							
						
 
 
Comment