How to display image after upload in php?

后端 未结 8 2063
無奈伤痛
無奈伤痛 2021-01-14 08:30

after uploading the image to a folder. how to display the image..

its my upload.php



        
8条回答
  •  北荒
    北荒 (楼主)
    2021-01-14 09:05

    As you've already put "upload" in $img

    $img="upload/".$image;
    

    You don't need to put it in src anymore

    echo '';
    

提交回复
热议问题