html - PHP: multiple spaces in PHP implode -


i imploding array. instead of using "," or other delimiter 2 spaces.

how can accomplished?

i've tried:

<div>{implode("  ", $my_array)}</div> // condenses 1 space. <div>{implode("&nbsp; &nbsp;", $my_array)}</div> // prints out &nbsp. not use hashes in code. 

note: not use # in nbsp. stackoverflow renders them spaces if don't :p

try "\t" (a horizontal tab) or "&nbsp &nbsp" (two html spaces)


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -