RE: [PHP] highlight_string()

2006-03-10 Thread Weber Sites LTD
mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 07, 2006 3:08 AM > To: Weber Sites LTD > Cc: php-general@lists.php.net > Subject: Re: [PHP] highlight_string() > > Weber Sites LTD wrote: > > I was afraid of that... > > I need to do HTML manipulations on the text that is out

Re: [PHP] highlight_string()

2006-03-10 Thread Robin Vickery
On 10/03/06, Weber Sites LTD <[EMAIL PROTECTED]> wrote: > Hi > > I'm trying to go with your idea but I'm having difficulties with > preg_match_all. > I want the text between . The use of preg_match_all bellow only > Returns text that is in a single line. If the > is > A few lines bellow, it does n

Re: [PHP] highlight_string()

2006-03-10 Thread chris smith
Tuesday, March 07, 2006 3:08 AM > To: Weber Sites LTD > Cc: php-general@lists.php.net > Subject: Re: [PHP] highlight_string() > > Weber Sites LTD wrote: > > I was afraid of that... > > I need to do HTML manipulations on the text that is outside the . > > After I run highlig

RE: [PHP] highlight_string()

2006-03-10 Thread Weber Sites LTD
;/i',$text,$CodeArray,PREG_PATTERN_ORDER); Thanks. -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 3:08 AM To: Weber Sites LTD Cc: php-general@lists.php.net Subject: Re: [PHP] highlight_string() Weber Sites LTD wrote: > I was afraid o

Re: [PHP] highlight_string()

2006-03-06 Thread Chris
processing here. foreach($placeholders as $i => $text) { $content = str_replace('%%PLACEHOLDER['.$i.']%%', highlight_string($text), $content); } -Original Message- From: chris smith [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 11:59 AM To: Weber Sites LTD

RE: [PHP] highlight_string()

2006-03-06 Thread Weber Sites LTD
[mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 11:59 AM To: Weber Sites LTD Cc: php-general@lists.php.net Subject: Re: [PHP] highlight_string() On 3/6/06, Weber Sites LTD <[EMAIL PROTECTED]> wrote: > The only way I could work around this was to put empty at the > Beginning of

RE: [PHP] highlight_string()

2006-03-06 Thread gustav
> The only way I could work around this was to put empty at the > Beginning of the text and now highlight_string() highlights only what > Is inside > > You can see an example of the problematic text in the example > Area of this page : http://www.weberdev.com/get_example-4345.html > > Notice the

Re: [PHP] highlight_string()

2006-03-06 Thread chris smith
On 3/6/06, Weber Sites LTD <[EMAIL PROTECTED]> wrote: > The only way I could work around this was to put empty at the > Beginning of the text and now highlight_string() highlights only what > Is inside > > You can see an example of the problematic text in the example > Area of this page : http://

RE: [PHP] highlight_string()

2006-03-06 Thread Weber Sites LTD
The only way I could work around this was to put empty at the Beginning of the text and now highlight_string() highlights only what Is inside You can see an example of the problematic text in the example Area of this page : http://www.weberdev.com/get_example-4345.html Notice the empty at the