PHP GD Library output an image and text content on same page

后端 未结 4 1172
失恋的感觉
失恋的感觉 2021-01-06 11:27

I am trying to output an image to a browser and then output HTML (not directly related to the image) on the same page. Is this possible? I am having a heck of a time figurin

4条回答
  •  有刺的猬
    2021-01-06 11:47

    Store only your image creation code in its own php script. Then you call the script in your HTML as if it were a regular image with the img tag like this:

    image
    

提交回复
热议问题