Mehrzeilig....

Danke, es klappt:

PHP:
<? include("dbconnect.php");
  $aendern = "UPDATE lyric Set rank = rank+1 WHERE id = $num";
  $update = mysql_query($aendern);
  $abfrage = "SELECT * FROM lyric WHERE id = $num";
  $ergebnis = mysql_query($abfrage);
  while($row = mysql_fetch_object($ergebnis))
  {
  echo "<HTML><HEAD><TITLE>$row->artist - $row->song</TITLE></HEAD>";
  echo "<BODY BGCOLOR='#6789BF' TEXT='#FFFFFF'>";
  echo "<P><B><FONT FACE='Verdana, Arial, Helvetica, sans-serif' SIZE='3'>$row->artist - $row->song</FONT></B></P><P>&nbsp;</P>";
  echo "<P>"; 
  echo nl2br($row->text); 
  echo "</P><P>&nbsp;</P><P><FONT FACE='Verdana, Arial, Helvetica, sans-serif' SIZE='2' COLOR='#000000'><B>Hinzugefügt von: $row->adder <BR>Klicks: $row->rank</B></FONT></P></BODY></HTML>";
}
?>
Test: http://www.lyrics2003.de/song.php?num=7
 
Zurück