Reply to Re: phpthumb - html/xhtml validation problem

Your name:

Reply:


Posted by peteski22 on 08/15/06 15:01

newsgroup posting newbie also, please ignore the literal is missing
closing delimeter comment, it was an accidental paste from the
clipboard.

petesk...@gmail.com wrote:
> 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

[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

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