I have this query
CONCAT_WS('<br>', GROUP_CONCAT(DISTINCT events.ID, events.EVENT_NAME, events.start_datetime SEPARATOR '<br><br>')) AS all_ids
Which produces something like this:
1Some Event!2013-01-03 21:00:00<br><br>
14Another Event2012-12-31 19:00:00<br><br>
25Friday Event2013-01-10 21:00:00<br><br>
But I would like to separate each column with a <BR> as well so the result would look like this:
1<BR>
Some Event!<BR>
2013-01-03 21:00:00<br><br>
14<BR>
Another Event<BR>
2012-12-31 19:00:00<BR><BR>
25<BR>
Friday Event<BR>
2013-01-10 21:00:00<br><br>
Thanks!
You should be able to use
CONCAT()around each field: