PHP show image as BLOB mysqli

后端 未结 3 1258
独厮守ぢ
独厮守ぢ 2021-01-20 01:56

I read all possible questions on StackOverflow, I asked all people who I know and no one can help me. I have table in database:

CREATE TABLE IF NOT EXISTS `z         


        
3条回答
  •  萌比男神i
    2021-01-20 02:32

    Try below

    echo '';
    

    For better maintenance you can add data:image/png;base64 as your header then only echo base64_encode( $row['zdjecie'] ) this will work for single_image.php?id=$id

提交回复
热议问题