Reply to Re: [PHP] sending HTML (incl. embedded images) to browser

Your name:

Reply:


Posted by Jordan Miller on 08/18/05 01:56

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
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация