i know it's probably me thats done something wrong, but my smileys don't work anywhere! what could be the problem? the smileys folder is chmodded to 777. . .
the smileys list does work.
the smileys list does work.
function getsmilies($text) { $sql = "SELECT * FROM ibwf_smilies"; $smilies = mysql_query($sql); while($smilie=mysql_fetch_array($smilies)) { $scode = $smilie[1]; $spath = $smilie[2]; $text = str_replace($scode,"<img src=\"$spath\" alt=\"$scode\"/>",$text); } return $text; }
Comment