Bild aus MYSQL lesen

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

  • #31
    Wie wärs mit
    PHP Code:
    if(isset($row->Bild)) 
    innerhalb der auslesenden while-Schleife ?

    Gruss

    tobi
    Gutes Tutorial | PHP Manual | MySql Manual | PHP FAQ | Apache | Suchfunktion für eigene Seiten

    [color=red]"An error does not become truth by reason of multiplied propagation, nor does truth become error because nobody sees it."[/color]
    Mohandas Karamchand Gandhi (Mahatma Gandhi) (Source)

    Comment


    • #32
      nee, dann fürht er aber doch immer noch in der ersten datei
      das

      echo"<tr><td><b>","<img src=\"showimage.php?id=".$Gaestebuch->ID."\"></b></td></tr>";

      aus...den befehl muss ich doch unterdrücken in der ersten datei damit nicht der "broken link" erscheint aber hier isset($Gaestebuch->Bild) führt zu keinem Erfolg

      Comment


      • #33
        PHP Code:
        if(isset($Gaestebuch->BILD) AND !empty($Gaestebuch->BILD)) {
        echo
        "<tr><td><b>","
        <img src=\"showimage.php?id="
        .$Gaestebuch->ID."\">
        </b></td></tr>"
        ;

        Liebe Grüße,
        SteKoe!

        PHP Tutorials
        Peter Kropff | Quakenet | Schattenbaum.net

        Comment


        • #34
          thx....das wars..mir fehlte das !empty.....

          Comment

          Working...
          X