hi
i'm sure its simple, and i thought it was, until i tried it!
i have a page that reads a txt file, and outputs the data to screen. simple enough, however, i want it to find the ":-)" sequence and replace it with an <img>.
I've tried
ereg(":-)", "<img src='smile.gif'>, $GetLine[2])
but its not working :-s
any thoughts?
Cheers