Jump to content

Recommended Posts

Whenever I use the CODE and /CODE tags to surround my code I always have to go and edit my post to re-format the code as actual tabs seem to get added in at seemingly random places.

 

I don't have any tabs in my code as I only ever use spaces and two spaces per intent level.

Link to comment
https://forums.phpfreaks.com/topic/320109-experiencing-problems-with-code-tags/
Share on other sites

^ That. Once you submit your post, the forum will do a little light processing on it, and that will screw around with whitespace.

Those Code blocks also provide some simple syntax highlighting, provided you pick the right language, so please do use them.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.