I am using this code
1 2 3 |
|
Extract tags and list them, currently it displays as follows
1 |
|
But I want a space after the comma, like
1 |
|
I've tried a few different solutions, but I'm not a coding expert. Thanks
P粉2778243782023-09-09 09:03:51
Just use string replace function and replace ,
with ,
(comma with space)
<span class="tab-text-subheader"><? echo ($rrow['tags']) ? str_replace(',', ' ', $rrow['tags ']); : "-"; ?></span>
I hope this is useful to you