Database Information
Code: Select all
Table name : product
Column name : prod_img_url
Information inside the column : pic1.jpg,pic2.jpg,pic3.jpg
Code: Select all
<img src="/localhost/images/<?php echo $row['prod_img_url']"?>How to code for only take the first picture address (pic1.jpg) and ignored other?Please help Urgent. Thx