$SelectImg = "SELECT img FROM `fruits` ORDER BY RAND() LIMIT 2";
$ImgResult = mysqli_query($db, $SelectImg);
foreach ($ImgResult as $value) {
$value1 = $value ['img'];
echo $value1;
}
This codes displays $value1 as 'appleorange'. I want $value1 to be 'apple' and to have a $value2 with outputs 'orange'.