Now Hiring: Are you a driven and motivated 1st Line IT Support Engineer?

Get remaining message credits – PHP Integration

Get remaining message credits – PHP Integration

  • </pre>
    <pre class="prettyprint prettyprinted"><span class="kwd">try</span> <span class="pun">{</span><span class="pln">
        $credits </span><span class="pun">=</span><span class="pln"> getBalance</span><span class="pun">();</span><span class="pln">
        echo </span><span class="str">"Message Credits Remaining: {$credits}"</span><span class="pun">;</span>
    <span class="pun">}</span> <span class="kwd">catch</span> <span class="pun">(</span><span class="typ">Exception</span><span class="pln"> $e</span><span class="pun">)</span> <span class="pun">{</span><span class="pln">
        echo $e</span><span class="pun">-></span><span class="pln">getMessage</span><span class="pun">();</span>
    <span class="pun">}</span></pre>
    <pre>

Leave your thought here

Your email address will not be published.