after a fetching base_64 encode from db i tried to display ......
{
$img=$key->image;
{
$decode=base64_decode($img);
if (write_file("assets/images/img.jpeg",$decode,"w+"))
?>
<img src="<?= base_url('assets/images/img.jpeg') ?>" width="70"height="70">
<?php
}
its fetching the data from db and decoded base_64 data but after all this its not viewing the image please help //// thanks in advance