>----- Original Message ----- >From: "David D" <[EMAIL PROTECTED]> >Sent: Monday, January 06, 2003 7:47 AM >Subject: [PHP] strip php tags from code ?
> I only want to keep html code of a page. > I want to remove php tags. It sound like you want the parser output of the page. You can use PHPs output control to buffer the page output, and capture it into a variable to do whatever you want with it. http://www.php.net/manual/en/ref.outcontrol.php Alternately, you can find a template class that does it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php