MySQL Forums
Forum List  »  PHP

Re: while loop - how to remove last comma
Posted by: Peter Brawley
Date: December 01, 2012 11:22AM

Prepare the string before echoing it and finish the prep with

$str = rtim( $str, ',&nbsp' )

Options: ReplyQuote


Subject
Written By
Posted
Re: while loop - how to remove last comma
December 01, 2012 11:22AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.