br()

br([$count = 1])

Parameters:
  • $count (int) – Number of times to repeat the tag
Returns:

HTML line break tag

Return type:

string

Generates line break tags (<br />) based on the number you submit. Example:

echo br(3);

The above would produce:

<br /><br /><br />

Note

This function is DEPRECATED. Use the native str_repeat() in combination with <br /> instead.

doc_CodeIgniter
2016-10-15 16:30:53
Comments
Leave a Comment

Please login to continue.