You are here: Re: phpthumb - html/xhtml validation problem « PHP Programming Language « IT news, forums, messages
Re: phpthumb - html/xhtml validation problem

Posted by peteski22 on 08/15/06 14:57

Karl, spot on!! sorry about that.. makes sense too. :) (thanks for the
speedy reply).

Thanks again
Peteski
(Php newbie)

I get a 'literal is missing closing delimiter.' where the first / is
following the
Karl Groves wrote:
> peteski22@gmail.com wrote in news:1155652970.767956.93180
> @i42g2000cwa.googlegroups.com:
>
> > How can I get my webpage to validate to XHTML strict if I am using the
> > commands as given in the phpthumb demo:
> >
> > <img src="../phpThumb.php?src=images/disk.jpg&w=200">
> >
> > This gives validation errors as I'm not allowed the 'w' or other
> > parameters.
>
>
> The validation error is because of the ampersand.
>
> Use: <img src="../phpThumb.php?src=images/disk.jpg&amp;w=200">
>
> (if it is XHTML, use <img src="../phpThumb.php?src=images/disk.jpg&amp;w=
> 200" />
>
> You'll also need to supply an alt attribute to pass validation as well.
>
> --
> Karl Groves
> www.karlcore.com

 

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

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