I am trying to display image on second file which is not being displayed plz help anyone
//first php file
$reAll = “select * from collect”;
$sql = mysql_query($reAll);
if($sql){
while($row = mysql_fetch_array($sql)){
$data1[] = $row[‘jewelphoto’]; //image in database
$data2[] = $row[‘price’];
}
}else{
echo “error!”;
}
//second php file
">
$<?php echo $data2[0]; ?>
|