Hi , Also ich habe Folgenden Code PHP-Code: echo "<center>"; while ( $gb3 = mysql_fetch_assoc ( $gb2 ) ) : echo" <table width='440' border='0' cellpadding='3' cellspacing='1' bgcolor='#000000' > <tr> <td bgcolor='#1E5A79' valign='top' colspan='2' > <table width='100%' border='0' cellpadding='0' cellspacing='0'> <tr> <td valign='top' ><b>" . $gb3['name'] . "</b></td> <td valign='top' align='right' >" . $gb3['datum'] . "</td> </tr> </table> </td> </tr> <tr> <td bgcolor='#1E5A79' valign='top' align='center' height='54'>"; if ( '$gb3["email"]' == "" ) { }else{ echo " <a href='mailto:" . $gb3['email'] . "'><img border='0' src='./gb/mail.gif'></a>"; } echo "<br>"; if ( '$gb3["hp"]' == "" or '$gb3["hp"]' == "http://" ) { }else{ echo " <a href='" . $gb3['hp'] . "'><img border='0' src='./gb/home.png'></a> "; } echo "<br>"; if ( '$gb3["icq"]' == "" ) { }else{ echo "<a href='http://wwp.mirabilis.com/scripts/search.dll?to=" . $gb3['icq'] . "' title='" . $gb3['name'] . " in ICQ adden'> <img border='0' src='http://wwp.icq.com/scripts/online.dll?icq=" . $gb3['icq'] . "&img=5'></a> "; } echo "<br>"; if ( '$gb3["aim"]' == "" ) { }else{ echo "<a href='aim:goim?screenname=" . $gb3['aim'] . "&message=Hello+Are+you+there?'><img border='0' src='./gb/aim.png' ></a>"; } echo "<br>"; echo " </td> <td bgcolor='#2F8BB9' valign='top' width='90%'> " . $gb3['text'] . " </td> </tr> </table><br><br>"; endwhile; echo "</center>"; So wenn jetzt z.b. $gb3["hp"] leer ist soll NIX angezeigt werden aber er zeigt Trotzdem was an (seht selber hier ) Kann mir mal wer sagen WARUM ? MFG Dadie
echo "<center>"; while ( $gb3 = mysql_fetch_assoc ( $gb2 ) ) : echo" <table width='440' border='0' cellpadding='3' cellspacing='1' bgcolor='#000000' > <tr> <td bgcolor='#1E5A79' valign='top' colspan='2' > <table width='100%' border='0' cellpadding='0' cellspacing='0'> <tr> <td valign='top' ><b>" . $gb3['name'] . "</b></td> <td valign='top' align='right' >" . $gb3['datum'] . "</td> </tr> </table> </td> </tr> <tr> <td bgcolor='#1E5A79' valign='top' align='center' height='54'>"; if ( '$gb3["email"]' == "" ) { }else{ echo " <a href='mailto:" . $gb3['email'] . "'><img border='0' src='./gb/mail.gif'></a>"; } echo "<br>"; if ( '$gb3["hp"]' == "" or '$gb3["hp"]' == "http://" ) { }else{ echo " <a href='" . $gb3['hp'] . "'><img border='0' src='./gb/home.png'></a> "; } echo "<br>"; if ( '$gb3["icq"]' == "" ) { }else{ echo "<a href='http://wwp.mirabilis.com/scripts/search.dll?to=" . $gb3['icq'] . "' title='" . $gb3['name'] . " in ICQ adden'> <img border='0' src='http://wwp.icq.com/scripts/online.dll?icq=" . $gb3['icq'] . "&img=5'></a> "; } echo "<br>"; if ( '$gb3["aim"]' == "" ) { }else{ echo "<a href='aim:goim?screenname=" . $gb3['aim'] . "&message=Hello+Are+you+there?'><img border='0' src='./gb/aim.png' ></a>"; } echo "<br>"; echo " </td> <td bgcolor='#2F8BB9' valign='top' width='90%'> " . $gb3['text'] . " </td> </tr> </table><br><br>"; endwhile; echo "</center>";
--
Foren-Regeln