[snip] :'( :'-( this causes the entire message to disappear:
$text = ereg_replace(':'-?(','<img
src="'.$smiley_path.'/crying.gif"
alt=":'(" width="25" height="15" align="absmiddle">',$text);
[/snip]
Have you tried any of the other regular expression functions available?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

