374 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 3-4 years
  • United Kingdom
  • Referred between 100 and 199 users
  • Bought between 1 and 9 items
  • Exclusive Author
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
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
  • United States
tigerlabs says

Concatenate using a period ”.”

ex:

EDIT : http://pastebin.com/j7TTvJQT

93 posts
  • Beta Tester
  • Bought between 50 and 99 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • United Kingdom
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