Hi. all i have small problem

Not verified =0 verified=1

$balance = $match_value['balance'];
$verified = $match_value['verified'];





<tr><td>  <b> Balance:  </b> </td> <td> 
if ($verified == 1)
{
    $verified = "$balance";
}
else
{
   <a class="btn btn-danger" href="verified.php" > not verified </a> 
} 
</td></tr>
Member Avatar for diafol

So what's the problem?

I think that it is your PHP tags and other little problems.
Try this.

<?php
    $balance = $match_value['balance'];
    $verified = $match_value['verified'];
?>
<tr>
    <th>Balance:</th>
    <td> 
    <?php if ($verified == 1) {
        $verified = $balance;
    } else {
       echo '<a class="btn btn-danger" href="verified.php"> not verified </a>';
    } 
    ?>
    </td>
</tr>

Fix

    <?php
    $balance = $match_value['balance'];
    $verified = $match_value['verified'];
    ?>
    <tr>
    <th>Balance:</th>
    <td>
    <?php if ($verified == 1) {
    echo $balance;
    } else {
    echo '<a class="btn btn-danger" href="verified.php"> not verified </a>';
    }
    ?>
    </td>
    </tr>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.