You are here: Re: [SMARTY] Problem parsing xml link with _GET parameters. « Smarty Templates Posts « IT news, forums, messages
Re: [SMARTY] Problem parsing xml link with _GET parameters.

Posted by "messju mohr" on 01/09/06 17:50

On Mon, Jan 09, 2006 at 10:17:58AM -0500, Tony wrote:
> Changing & to & (and = to =)...
>
> <link>www.domain.com/index.php?A=1&amp;B=2&amp;C=3</link>
>
> results in:
>
> <a href="http://www.domain.com/index.php?A=1">LINK</a>
> <a href="http://&">LINK</a>
> <a href="http://B=2">LINK</a>
> <a href="http://&">LINK</a>
> <a href="http://C=3">LINK</a>

your business code is broken then, or maybe your xml parser. this has
hardly anything to do with smarty. if you didn't write the code that
parses your "<link>"-tag then ask the developer who did it.

> On 1/9/06, Denis Gerasimov <denis.gerasimov@team-force.org> wrote:
> > Hello,
> >
> > > <link>www.domain.com/index.php?A=1&B=2&C=3</link>
> >
> > XML requires "&" to be encoded this way:
> >
> > <link>www.domain.com/index.php?A=1&amp;B=2&amp;C=3</link>
> >
> > HTH
> >
> > Best regards,
> > Denis Gerasimov
> >
> > --
> > Smarty General Mailing List (http://smarty.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

 

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

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