Php Header location error
<p>I have a php header location problem what i am doing is getting some data from my database and then making a if else check and depending on that i am redirecting the user to the next page ,here goes my code </p>

<pre><code>            if($claim_status == 'Pending Verification')
        {
            $page = "pending-verification.php?verifyid=".$id."";
        }
        elseif($claim_status == 'Pending PO Clearance')
        {
            $page = "po-clearance.php?verifyid=".$id."";
        }
        elseif($claim_status == 'Payment Approved')
        {
            $page = "payment-approved.php?verifyid=".$id."";
        }
        elseif($claim_status == 'Payment Receipt')
        {
            $page = "confirm-claim.php?verifyid=".$id."";
        }
        elseif($claim_status == 'Billing')
        {
            $page = "billing.php?verifyid=".$id."";
        }
        elseif($claim_status == 'Billed')
        {
            $page = "billed.php?verifyid=".$id."";
        }
        header("Location:$page");
</code></pre>

<p><code>$claim_status</code> is a variable i am getting from my database.</p>

<p>The error i am getting is ( this page has a redirect loop) how can i take care of this Please help me</p>

<p>Thank You</p>
