Movable Type Documentation > Appendices > Appendix: Template Tag Modifiers

encode_php

Type: modifier

Encodes the tag value into a format suitable for usage in one of three PHP string values: single-quote, double-quote, or here document. The value of this tag attribute should be either q (single-quote), qq (double-quote), or heredoc (here document).

Example

<mt:tagname encode_php="1" />
This page was last updated on 2007-08-10, 16:45.  

Submit a User Contributed Note

User contributed notes are a great way to share the knowledge you have gained in using Movable Type.

If you have a technical question or problem, please visit Movable Type Support.

(If you haven't left a note here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)