Use PHP to strip the last character in a string
Saturday, April 22nd, 2006 by Chris Jason
Whether you’re working with a string created from a database query or array, here’s a cool trick to strip the last character (comma) of a comma separated list of values using PHP.
9 Comments (Talk
about it now)





