Question: how to do base64_encode() for the ios I mean Iphone this the code it shows the image in andriod and pc but doesnt show anything
how to do base64_encode() for the ios I mean Iphone this the code
include "connect.php";
$sql ="SELECT id, imagetype, BookPic, BookName, PayPal, BookPDF FROM `textsource` .`addbooks`";
$result = $connect->query($sql);
if($result->num_rows>0){
echo "
while($row = $result->fetch_assoc()){
$image = "data:image/jpeg; charset-utf8; base64,"; $opencode = base64_encode($row['BookPic']); echo "
".$row['BookName']." 10 CAD
".$row['PayPal']."
}
echo "
}
?>
it shows the image in andriod and pc but doesnt show anything in iphone .
Please help me with the code which should work for all browser and devices ASAP
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
