You are here: Re: Insert JPG created with information from a DB in HTML « PHP Programming Language « IT news, forums, messages
Re: Insert JPG created with information from a DB in HTML

Posted by Alvaro G Vicario on 06/27/05 13:23

*** bettina@coaster.ch wrote/escribió (26 Jun 2005 12:58:53 -0700):
> <img src="../Fotos/<? $posavaso?> width="215" height="108">
>
> any tips???

Two troubleshooting techniques that will help you in the future:

* PHP is not everything: do check the generated HTML!

IE: View-> Source
Mozilla: View-> Page Source (or Ctrl+U)

* Use the W3C Validator to test the validity of your HTML and CSS:

http://validator.w3.org

This way you would have found that

<img src="../Fotos/ width="215"

is invalid HTML, thus noticing the missing equal and quote :)

--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--

 

Navigation:

[Reply to this 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

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