Everything is ok in external url but in internal src file gives error
'<th><a href="presentation_add.php"><button type="button" class="btn btn-info" data-toggle="modal" data-target="#myModal">+</button></a></th>
</tr>
</thead>
<?php while ($row=mysqli_fetch_assoc($query)) {
$lastwork="luckyassigment/frontend/images/products/prod_large.jpg";
?>
<tr class="bg_hover">
<td><?php echo $row['product_name'] ?></td>
<td><img src="localhost/luckyassigment/frontend/images/products/prod_large.jpg" alt="Nahi hy" width="150"></td>
<td class="updates_section"><a href=""><img src="assest/css/img/edit.png" alt="edit"></a>  <a href=""><img src="assest/css/img/delete.png" alt="Delete"></a></td>
</tr>
<?php } ?>
</table>
</div>'
答案 0 :(得分:0)
该错误表示链接所指向的图像没有该名称。
错误可能出在您在img的src中传递的网址中,请仔细检查(例如,可能是“ assignment”而不是“ assigment”吗?)。
如果找不到错误,请检查开发人员控制台以查看消息错误并了解问题所在。