IntactDev
Member
- Nov 22, 2012
- 399
- 71
So, I was on a random forum, and I wanted to look through the usernames, but they were horizontally laid out, and I wanted to make them into a vertical list. I googled around to find a little script to organize it, but I couldn't find one so I made one... Here is the small script, it's nothing special, and I'm not even sure if I used the right techniques.
Enjoy <3
Code:
<?php
$string = "string1, asddaf, fasfasf, fasfgkjashjgkfhag, af, afasfasf";
$tags = explode(', ', $string);
for($i = 0, $tags = explode(', ', $string); $i < count($tags); ++$i) { echo "String #{$k}: {$v}"; }
?>
Enjoy <3
Last edited: