Re: [PHP] Replacing non exact strings

2002-05-03 Thread Julio Nobrega Trabalhando
Thanks Brian, it's working! -- Julio Nobrega. "Brian Paulson" <[EMAIL PROTECTED]> wrote in message 005101c1f2af$fa59eb00$89010a0a@bpaulson">news:005101c1f2af$fa59eb00$89010a0a@bpaulson... > Julio, > > Try this -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

Re: [PHP] Replacing non exact strings

2002-05-03 Thread Stuart Dallas
On 3 May 2002 at 11:36, Julio Nobrega Trabalhando wrote: > $searched = "Joe Doe"; > $original = "Joe Cougar Doe"; > $final = "Joe Cougar Doe"; > > Any ideas about how can I achieve this result? I am currently using > eregi_replace($searched, "$searched", $original), so that's why > it only acce

RE: [PHP] Replacing non exact strings

2002-05-03 Thread Brian Paulson
Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com -Original Message- From: Julio Nobrega Trabalhando [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 8:36 AM To: [EMAIL PROTECTED] Subject: [PHP] Replacing non exact strings Hi List, Imagine a form where

[PHP] Replacing non exact strings

2002-05-03 Thread Julio Nobrega Trabalhando
Hi List, Imagine a form where user can search for clients using a 'name' field. When submitted, there's a result page, linking results to another page with the client information. I need to make the terms inputted at the form bold when they appear at the client information page. Problem is