Brimbox Logo Brimbox Version 2.3.4 Released

echo_tag>>

Outputs a standard HTML tag with attributes. Generally this would be used for display tags, such as div or p tags.

Class: bb_forms, called as $main

File: bb_forms.php (php)

Declaration:

function echo_tag($tag, $content = "", $params = array())

Usage:

$main->echo_tag($tag, $content, $params);

Outputs:
A HTML tag with inner HTML content and attributes.

Note: This is designed for basic tags and does not work for all tags.

Parameter: $tag (string)
Form tag such as div or p.

Parameter: $content (string)
Inner HTML of the tag.

Parameter: $params (array)
Array of parameters to turn into HTML attributes.

Updated: 2016-07-09