Daevid Vincent wrote:
> I want to put a code snippet section on my site and want to colorize
> them like the user comments on any PHP site page.
>
> http://www.php.net/manual/en/language.operators.arithmetic.php
>
> What's the easiest way to do that?
php -s yourcode.php
/Per Jessen, Zürich
-
I want to put a code snippet section on my site and want to colorize them like
the user comments on any PHP site page.
http://www.php.net/manual/en/language.operators.arithmetic.php
What's the easiest way to do that?
I've used Geshi, but that seems a lot of overhead just to colorize a wee
bit-
On Wed, 14 Nov 2007 23:45:40 -0800, "Daevid Vincent" <[EMAIL PROTECTED]>
wrote:
I want to put a code snippet section on my site and want to colorize them
like the user comments on any PHP site page.
Hi:
It was suggested to use php's highlight_string -- I wouldn't do that.
Why don't you use
On Thu, 15 Nov 2007 03:40:32 -0800, "Daevid Vincent" <[EMAIL PROTECTED]>
wrote:
>> -Original Message-
>> From: T.Lensselink [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, November 15, 2007 12:05 AM
>>
>> On Wed, 14 Nov 2007 23:45:40 -0800, "Daevid Vincent" <[EMAIL PROTECTED]>
> wrote:
>> >
> -Original Message-
> From: T.Lensselink [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 15, 2007 12:05 AM
>
> On Wed, 14 Nov 2007 23:45:40 -0800, "Daevid Vincent" <[EMAIL PROTECTED]>
> wrote:
> > I want to put a code snippet section on my site and want to
> > colorize them like t
Daevid Vincent wrote:
> Worked pretty good. It seems to have trouble with the \ and \\ chars
> for some reason, but close enough for jazz as they say... (notice the
> array has \\ when it should only be a single one,
What do you actually have in the code - a double (an escaped backslash)
or a si
On Wed, 14 Nov 2007 23:45:40 -0800, "Daevid Vincent" <[EMAIL PROTECTED]>
wrote:
> I want to put a code snippet section on my site and want to colorize them
> like the user comments on any PHP site page.
>
> http://www.php.net/manual/en/language.operators.arithmetic.php
>
> What's the easiest way
7 matches
Mail list logo