dimanche 24 novembre 2019

Display default image in php when image not show in list of image i need to remove missing icon

<?php while($row = mysqli_fetch_object($result)) { ?>
    <tr>
    <td><?php echo $row->ils_model ?><br>Code: <b><?php echo $row->code_no ?></b>
        <br>Item: <?php echo $row->item_no ?></td>
    <td><a href="$row->photos"><img border= 0 src="<?php echo  $row->photos ?>" width=100 height=100></a></td>

    <td align=left>
        Material: <?php echo $row->material ?>
        <br>Size: <?php echo $row->product_size?>
        <br>Frame Color: <?php echo $row->frame_color?>
    </td>
<?php } ?>

enter image description here



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire