e si me ne sono accorto pure io ed ho risolto dolo che non me lo sostituisce con le immagini.

Codice PHP:

function textmessage($msg){
    
    
$arricons= array(" [:(] " => "images/guestbook/emoticons/emoticons0011.gif"" [|:/] " => "images/guestbook/emoticons/emoticons0012.gif"" [8#] " => "images/guestbook/emoticons/emoticons0013.gif""[=(]" => "images/guestbook/emoticons/emoticons0014.gif"");
    

foreach(
$arricons as $key => $valore){
    
$text= str_replace($key, "[img]$valore[/img]", $msg);
}

return 
$text;


non cambia i simboli con l'immagine.