Re: Highlighted Syntax

From: Date: Fri, 23 Jun 2000 06:41:38 +0000
Subject: Re: Highlighted Syntax
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2771@lists.php.net to get a copy of this message
At 03:37 PM 6/23/00 +0930, David Robley wrote: >On 23 Jun, Tyler Longren wrote: >> I have some PHP code stored in a MySQL database. I want to print this code >> onto a webpage as pretty php. How do I do this? Thanks! > >One option might be to dump it to a temp file and display that file >using show_source("filename") > Another option would be to use STR_REPLACE to replace any occurance of a quotation mark with a \" then use the PRINT command to display the info. Later, Jeff Gannaway webmaster@cactusgraphics.com

« previous php.general (#2771) next »