Weird problem in php, one echo works, while the other dosen't in the same block, in PHP
<pre><code>....    
else {
              $affiliate-&gt;setStatus('D');
              echo "Before load";die;
                if($affiliate-&gt;load())
                {
                    echo $affiliate-&gt;getUsername();
                    die(($affiliate-&gt;getUsername())."Success to load affiliate");
                }
                else
                {
                    $chkaffiliate= new Pap_Api_Affiliate($session);
                    $chkaffiliate-&gt;setUsername($_POST['txt_email']);
                    if($chkaffiliate-&gt;load())
                    {
                        echo $chkaffiliate-&gt;getUsername();
                    }
                    die("Failed to load affiliate");
                }
              die("Failed to process payment,account request declined. &lt;br&gt;&lt;br&gt;Please try again using a different email OR Contact our support team to manually approve your account.".$response-&gt;error_message);
            }
</code></pre>

<p>I get the output <code>Failed to process payment...</code>that is, the last <code>die()</code> in the above code, however I don't get the <code>Before Load</code> in the first echo, while both are in the same block. Any ideas?</p>
