Ausgabe "verstecken"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ausgabe "verstecken"

    Mit folgendem Code wird nur ein Ergebnis ausgegeben, wenn $row[0] wirklich einen Inhalt hat, zum Beispiel A:

    if ($row[0]) echo "<FONT class=\"font8f\" color=\"#000000\">$row[0]</FONT>

    Was muß ich machen, damit wirklich nur eine Ausgabe erstellt wird, wenn der Inhalt von $row[0) A ist und nicht B?

    Danke für Eure Hilfe!

  • #2
    if ($row[0]=="A") echo "<FONT class=\"font8f\" color=\"#000000\">$row[0]</FONT>
    Beantworte nie Threads mit mehr als 15 followups...
    Real programmers confuse Halloween and Christmas because OCT 31 = DEC 25

    Comment


    • #3
      Ausgabe &quot;verstecken&quot;

      Danke für die schnelle Hilfe!
      Gruß
      hkeiler

      Comment

      Working...
      X