Re: [PHP] Weird search and replace

2005-01-06 Thread Jason Wong
On Thursday 06 January 2005 14:24, Liam Gibbs wrote: Please fix your mail client so that in word wraps properly! Here's what I need. I have a string such as this: Yadda yadda yadda yadda '32'(l) yadda yadda yadda '2'(l) yadda '419'(l). (#2) I need to find the strings like '32'(l), '2'(l),

[PHP] Weird search and replace

2005-01-05 Thread Liam Gibbs
I'm trying to do a search-and-replace for a certain string (#1) from a bigger string (#2), take that string (#1), do an SQL search, then do a little fiddling to make another string (#3), and put that string (#3) back into the big string (#2) to replace the certain string (#1). Here's what I