I have this code
<?php foreach ($column as $k => $v): ?>
<tr>
<td><?php echo $v; ?></td>
<td><?php echo $k; ?></td>
</tr>
<?php endforeach ?>
And i get this output
<tr>
<td>id</td>
</tr>
<tr>
<td>name</td>
</tr>
<tr>
<td>address</td>
</tr>
<tr>
<td>birth</td>
</tr>
<tr>
<td>foto</td>
</tr>
but i don't want to include the foto, how can i do this ?
you can use if condition inside foreach