Re: [PHP] Syntax Highlighting variables not appearing

2005-02-28 Thread Richard Lynch
Tom Whitbread wrote: > Can anyone explain why this is happening. > > I am using the following code For giving code examples on my website > with syntax highlighting > > $text = ' 'bar';"; example_function(\$my_code); ?>'; This is not a valid

[PHP] Syntax Highlighting variables not appearing

2005-02-28 Thread Tom Whitbread
Can anyone explain why this is happening. I am using the following code For giving code examples on my website with syntax highlighting $text = ''; $body = preg_replace('/<(.*?)>/es', 'highlight_string(