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&w=200">
>
> (if it is XHTML, use <img src="../phpThumb.php?src=images/disk.jpg&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]
|