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:

1
echo nbs(3);

The above would produce:

1
   

Note

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

doc_CodeIgniter
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.