Bitrix Site Manager

ShowError

ShowError(
 string message,
 string css_class = "errortext"
)

The function ShowError emits the error message.

Parameters

ParameterDescription
message Error message.
css_class CSS class to use for the message.
Optional. The default value is "errortext" (which is usually in red).

Example



<?
ShowError("Error!");
?>