How do i display html code without executing?

  • MISCELLANEOUS
  • PHP

If you want to print PHP or HTML codes with script or any other tags to define/state your point, you can do using following way and it works properly and perfectly. Many colleagues get stuck while developing an application where such requirement comes they use this technique to get their work done.

Show