Jump to content

image and text


jagguy

Recommended Posts

Hi,

In my php file I want to display on web page an image and text.
I don't know what header command to display.
I try this but it fails so how do you display an image and text from a php file . I can display an image on its own but I don't kow how to add text as echo command fails.


header("Content-type: image/jpeg, text/plain");
Link to comment
https://forums.phpfreaks.com/topic/27076-image-and-text/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.