RE: [PHP-GENERAL] Highlighted Syntax
| From: | Andrew Braund | Date: | Fri, 23 Jun 2000 06:06:57 +0000 |
| Subject: | RE: [PHP-GENERAL] Highlighted Syntax | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2744@lists.php.net to get a copy of this message | ||
<?
show_source("filename");
?>
Takes the source from a file and displays a coloured up version on your
browser. You may have save your MySQL output to a file first, but I'm
sure someone else will have a better way of doing it.
Note: I have tried this on WinNT and it works. On Win95 or Win98 is does
not work. I get the message;
Warning: Failed opening 'c:\\htdocs\\examples\\php\\info.php' for
highlighting in c:\htdocs\examples\php\info.php on line 28
Any ideas why this is happening?
Regards
Andrew Braund
> -----Original Message-----
> From: Tyler Longren [mailto:tyler.longren@midiowa.net]
> Sent: Friday, 23 June 2000 15:23
> To: php-general@lists.php.net
> Subject: [PHP-GENERAL] Highlighted Syntax
>
>
>
> Hello,
>
> 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!
>
> Regards,
> Tyler Longren
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
>