Topics

Function escAttr()

escAttr — Get escaped HTML attribute.

Description:

string escAttr ( string $value )

Get escaped HTML attribute. QUOTES ARE MANDATORY!!! Correct example: <div css="<?php echo escAttr() ?>"> Incorrect example: <div css=<?php echo escAttr() ?>>

Package: ImpressPages

Parameters:

string $value Unescaped HTML attribute.

Return values:

string Escaped string.

See also

comments powered by Disqus