<?php $text = ':) kip :D'; $smilies = array(':)' => 'smile', ':D' => 'grin'); echo str_replace(array_keys($smilies), '', $text);
You have javascript disabled. You will not be able to edit any code.