I tried that, and it does the same thing:
if($_SESSION['id'] == $rowUser['id']) {
echo '<input type="hidden" class="form-control" id="status" name="status"
placeholder="" value="<?php print($rowUser['.'status'.']); ?>"
maxlength="255" autocomplete="off" readonly/>';
echo '<p style="color: #a40000;">The user status cannot be changed</p>';
}