407 posts
  • Became a Top 20 Author of the Month
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
  • Located in United Kingdom
+6 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 5 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 6 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