Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

parsesmileys

This function will parse the smiley's in $message string and display the smiley code as smiley's and not as the typed characters.

parsesmileys

Quote

parsesmileys ( string $message )


Parameters
message
The string which should have smiley's parsed

Return Values
This function will return Smiley codes as smiley images ready for display

Examples
Code
<?php
$message = "Here is a text :) With some smiley's in it :D";
echo parsesmileys($message);
?>

We will parse the smiley's in the $message string

Output

Quote

Here is a text <img src='images/smiley/smile.gif' alt='smile' /> With some smiley's in it <img src='images/smiley/grin.gif' alt='grin' />


Changelog
7.01.00 - Fixed an error when parsing a smiley symbol starting with #.