24/7 Support: 800.608.6482

miva_cdata_encode

MvDo Function, MVT, Miva 9+, Engine v5.22+

Tag / Description

miva_cdata_encode( text )

<mvt:assign name="g.return_value" value="miva_cdata_encode( text )" />

Create one or more CDATA tags with the provided text, splitting any data with "]]>" into two CDATA tags with "]]" at the end of one CDATA tag, and ">" as the first value of the next CDATA tag.

Parameters

Return Values

Examples

Looking for Developer Docs?

We have a whole section for that, including: Developer Training Series, Template Language docs, Module Development tutorials and much, much more.

Head to the Developer Section

Copyright © 1997 – 2026 Miva®, Miva Merchant®, MivaPay Vault®, Camp Miva®, Miva Connect®, Vexture℠, Miva, Inc. All Rights Reserved.