faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 6 people (33%) answered Yes
Recently 2 of 6 people (33%) answered Yes

Entry

How to format an array so the variables on it have a <br> as separator?

Aug 15th, 2002 14:20
John Kugelman, Gusi n/a,


If you want to display the items in an array you can try this:
implode ('<br />', $array);
That will give you a string containing the elements of the 
array "glued" together with line breaks.