388 posts
  • Has referred 100+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
EugeneO says

For the past month I have been battling this. How do you write php code snippits in < pre > or < code > tags? There have been lots of times I have needed to do it in response to questions in my item discussions but have never managed to get it to display properly. Is it even possible?

831 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
tigerlabs says

Concatenate using a period ”.”

ex:

EDIT : http://pastebin.com/j7TTvJQT

93 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+2 more
joelvardy says

If you convert the php into html entities then but that between the < pre > tags you shouldn’t have any problems.

by
by
by
by
by
by