Loading...

See my latest

I know how to loop through items of an array using foreach and append a comma, but it’s always a pain having to take off the final comma. Is there an easy PHP way of doing it?

I know how to loop through items of an array using foreach and append a comma, but it’s always a pain having to take off the final comma. Is there an easy PHP way of doing it?

I know how to loop through items of an array using foreach and append a comma, but it’s always a pain having to take off the final comma. Is there an easy PHP way of doing it?

Written by Jesse Sopher

PhD student. Teacher. Watcher of TV. Reader of books. Grader of papers... Just your average superhero.

Leave a Reply

Your email address will not be published. Required fields are marked *