MySql, PHP display Picture on HTml

前端 未结 3 1911
死守一世寂寞
死守一世寂寞 2021-01-29 10:43

im trying to display the picture saved in the database using Php, but what i get is Url link which was saved in the database and not the picture, i think the syntax is wrong.

3条回答
  •  走了就别回头了
    2021-01-29 11:21

    Change

    echo "" .$row['ImageURL'] ."";
    

    to

    echo "";
    

    Modify the values 200px and 350px to whatever you want, just keep the 'px' suffix.

提交回复
热议问题