Julio,
Try this
$search = Joe Doe;
$original = Joe Cougar Doe;
$final = bJoe/b Cougar bDoe/b;
$terms = explode( ,$search);
for($i=0; $icount($terms); $i++)
{
$original = eregi_replace($terms[$i], b.$terms[$i]./b,
$original);
}
echo $original;
Should get you started.
On 3 May 2002 at 11:36, Julio Nobrega Trabalhando wrote:
$searched = Joe Doe;
$original = Joe Cougar Doe;
$final = bJoe/b Cougar bDoe/b;
Any ideas about how can I achieve this result? I am currently using
eregi_replace($searched, b$searched/b, $original), so that's why
it only accepts
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:
3 matches
Mail list logo