How to remove "," in end of text in php?
<p>I have a text:</p>

<pre><code>"2G Network":"GSM 850","3G Network":"HSDPA 850",
</code></pre>

<p>How to remove "," in end of text in php </p>

<pre><code>"2G Network":"GSM 850","3G Network":"HSDPA 850"
</code></pre>
