Stimmt schon, aber schau dir mal das hier an:
Code:
$
db = new
MySQL($hostname, $port, $username, $password);
$
db->SelectDB($dbName);
[b]$
query = $
db->
Query("SELECT * FROM editor_smilies ORDER BY smilies_id DESC"); [/b]
}
$SmilieTbl = " <table>\n";
while($inhalt = $
db->FetchArray($
query)) {
if (bcmod($i, 4) == 0) {
$SmilieTbl = $SmilieTbl." </tr>\n <tr align=\"center\" valign=\"middle\">\n";
}
$SmilieTbl = $SmilieTbl." <td><a href=\"javascript
:emoticon('".$inhalt[ Code ]."')\"><img src=\"../../images/smilies/".$inhalt[smile_url]."\" vspace=\"5\" hspace=\"5\" border=\"0\" alt=\"".$inhalt[emoticon]."\" title=\"".$inhalt[emoticon]."\" /></a></td>";
$i++;