0
How to show the fields of each record in the table if the product field is non-zero ?
</td>
</tr>
<tr>
<td><?php echo $customer['produto2']; ?></td>
<td><?php echo $customer['serial2']; ?></td>
</tr>
<tr>
<td><?php echo $customer['produto3']; ?></td>
<td><?php echo $customer['serial3']; ?></td>
</tr>
<tr>
<td><?php echo $customer['produto4']; ?></td>
<td><?php echo $customer['serial4']; ?></td>
</tr>
<tr>
<td><?php echo $customer['produto5']; ?></td>
<td><?php echo $customer['serial5']; ?></td>
<tr>
</tr>
That is, I do not want the printing (display) if there is no product, if there is no product, successively. I have tried to fit an if Else, but without success, depending on the display structure !
– Marcos Moraes