How to post code?

Patrick,

I saw in the thread "2" code posted. But how can I do that also? (with the colors and so)
I've tried it but it didn't go well.

Joep

spoorzoekerfotos.vanjoep.nl
fotos.vanjoep.nl

test

Hello Joep,

good question:)

Until today you could not, because it was disabled for all users except me.
The reason was that with that "Input Format" you could put HTML links in to the comments and forum postings, with which I had quite much problems in the past.

I played now a little bit with settings and now if you choose "Input Format" named "PHP Highlight" if you put there some code inside of <?php ?> it will be automatically displayed as you saw in the post "2" ( which I changed to PHP Highlight )

You can test it in this thread if you will :)

Patrik

Trying with a 'line' of php

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-8698264690166658"
data-ad-slot="4417389723">