Jump to content

PHP Formatting


Recommended Posts

Hey y'all,

 

I can't seem to figure out how to put snippits of PHP in a post with the fomatting. You know, like gedit or some other program does, with the different colors for different kinds of code or whatnot?

Could anyone help me out with how to do this?

Link to comment
https://forums.phpfreaks.com/topic/266951-php-formatting/
Share on other sites

Actually2, please use the


bbcode tags around code (the # button.) The


tags, depending on the original new-line character in the source, adds a new-line character to every \t, \r, and \n in the code, resulting in hundreds of extra new-lines when you select/copy/paste code to try and help with it.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.