function nohtml ($text) {
$text2 = str_replace(':/','<img src="smilies/tvek.gif">',$text2);
$text2 = str_replace(':|','<img src="smilies/leif.gif">',$text2);
return $text2;
}
Dont know if that works, though. I took it from another forum.
Should get you started anyway.
Read up on it on php.net
red//
Sorry.. the first 'copy/paste' didnt come out well 😉
Had to cut it down abit since some of the smileys to 'replace'
went LaLa for some reason. I assume you see my point in
whats left of the script.. 🙂