nbs()

nbs([$num = 1])

Parameters:
  • $num (int) – Number of space entities to produce
Returns:

A sequence of non-breaking space HTML entities

Return type:

string

Generates non-breaking spaces ( ) based on the number you submit. Example:

echo nbs(3);

The above would produce:

   

Note

This function is DEPRECATED. Use the native str_repeat() in combination with   instead.

doc_CodeIgniter
2016-10-15 16:32:31
Comments
Leave a Comment

Please login to continue.