24/7 Support: 800.608.6482

encodeentities

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

Tag / Description

encodeentities( string )

<mvt:assign name="g.return_value" value="encodeentities( string )" />

Returns a copy of string in which all characters have been converted to their HTML entity equivalents, where applicable (for example, & is converted to "&"). This function is the opposite of decodeentities.

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 – 2025 Miva®, Miva Merchant®, MivaPay®, MivaCon®, Camp Miva®, Miva Connect®, Miva, Inc. All Rights Reserved.