Return to Snippet

Revision: 34613
at October 26, 2010 03:44 by newsok


Initial Code
$texte='A text with a smiley :-)';
echo str_replace(':-)','<img src="smileys/souriant.png">',$texte);

Initial URL

                                

Initial Description

                                

Initial Title
Generating automatic smileys

Initial Tags

                                

Initial Language
PHP