[snip]
:#039;(
:#039;-(
this causes the entire message to disappear:
$text = ereg_replace(':#039;-?(','img
src='.$smiley_path.'/crying.gif
alt=:#039;( width=25 height=15 align=absmiddle',$text);
[/snip]
Have you tried any of the other regular expression functions available?
--
PHP General
Never mind y'all ... me stupid ...
obviously the ( has meaning, and needs to be escaped ... was starting to
think it could only do 2 ereg's in 1 script *sigh*
Sorry for wasting time and bandwidth ... the function now looks like this
and works :
function gfx_smiley($text) {
$smiley_path =
Hi,
Thursday, April 15, 2004, 12:51:20 AM, you wrote:
RB Never mind y'all ... me stupid ...
RB obviously the ( has meaning, and needs to be escaped ... was starting to
RB think it could only do 2 ereg's in 1 script *sigh*
RB Sorry for wasting time and bandwidth ... the function now looks like
At 15:02 14-04-2004, Tom Rogers wrote:
Hi,
Thursday, April 15, 2004, 12:51:20 AM, you wrote:
RB Never mind y'all ... me stupid ...
RB obviously the ( has meaning, and needs to be escaped ... was starting to
RB think it could only do 2 ereg's in 1 script *sigh*
RB Sorry for wasting time and
Hi,
Thursday, April 15, 2004, 8:56:05 AM, you wrote:
RB At 15:02 14-04-2004, Tom Rogers wrote:
Hi,
Thursday, April 15, 2004, 12:51:20 AM, you wrote:
RB Never mind y'all ... me stupid ...
RB obviously the ( has meaning, and needs to be escaped ... was starting to
RB think it could only do 2
* Thus wrote Tom Rogers ([EMAIL PROTECTED]):
Hi,
Thursday, April 15, 2004, 8:56:05 AM, you wrote:
RB At 15:02 14-04-2004, Tom Rogers wrote:
...
RB preg_replace() and ereg_replace(), so it's a bit hard to get a quick
RB glimpse of how big the difference really is ... (or for the _match()
6 matches
Mail list logo