Helping ordinary people create extraordinary websites!


XML_Util::createComment()

XML_Util::createComment() -- create an XML comment

Description

Creates an XML comment, by embedding the supplied data in <!-- and -->.

Parameter

  • string $data - data for the comment.

Return value

string comment

Note

This function should be called statically.