Ask about general coding issues or problems here.
Moderators: macek, egami, gesf
- php-forum Fan User
- Posts: 973
- Joined: Mon Oct 01, 2012 12:32 pm
str_split() first to create your array, then implode it to a string.
Code: Select all
$letters = str_split($letters,1);
$letters = implode (' - ',$letters);
Who is online
Users browsing this forum: Bing [Bot] and 9 guests