Yesideez Posted April 24 Share Posted April 24 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. Quote Link to comment https://forums.phpfreaks.com/topic/320109-experiencing-problems-with-code-tags/ Share on other sites More sharing options...
Solution mac_gyver Posted April 24 Solution Share Posted April 24 the correct way of including code in the forum is to use the menu's <> button. Quote Link to comment https://forums.phpfreaks.com/topic/320109-experiencing-problems-with-code-tags/#findComment-1622379 Share on other sites More sharing options...
requinix Posted April 25 Share Posted April 25 ^ 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. Quote Link to comment https://forums.phpfreaks.com/topic/320109-experiencing-problems-with-code-tags/#findComment-1622398 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.