$string = '<? ?>';

If you use single quotes, then you don't need to escape them.

Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    "LINUX is obsolete"  -- Andy Tanenbaum, January 29th, 1992
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
       http://www.JEEP-FOR-SALE.com/ -- I need a buyer
  Get your own Free, Private email at http://www.smackdown.com/

On Mon, 22 Jan 2001, Hrishi wrote:

> Date: Mon, 22 Jan 2001 16:00:53 +0530
> From: Hrishi <[EMAIL PROTECTED]>
> To: PHP General Discussion <[EMAIL PROTECTED]>
> Subject: [PHP] how to escape <? and ?>
> 
> Hello all,
> 
> I'm working on a script that processes and returns a php script.
> i need to know how to escape the <? and the  ?> in the string constants that
> make up the script.
> 
> thanks,
> Hrishi
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to