Re: sending HTML (incl. embedded images) to browser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jake,

You don't have to do anything special, you just have to have standards compliant HTML output.

What is the HTML for the IMG tag output to the browser (i.e. go to the web browser, load the page in question, find the img tag, and send us this text). I think maybe your images are just not in the right directory or are not being referenced correctly.

also, what is the actual PHP code used to print the img tag? maybe you're not escaping quotes correctly...?

Jordan



On Aug 17, 2005, at 5:42 PM, Jake Sapirstein wrote:

Hi List,

I am a PHP newbie, pardon the elementary question - I am starting out with using print() to send HTML to the browser to be rendered. All is well with text and tables and other HTML formatting, but when trying to send IMG tags, my images aren't getting displayed.

Is there a good tutorial out there (I can't seem to find it) on how to send HTML to a browser where the HTML includes IMG tags with links to image files? If I need to set up the filepaths with variables I can figure that out, but not sure what functions to use to set the paths up.

Thanks for any pointers!

-Jake


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux