ampersand error & displaying as & in urllist
« on: February 25, 2009, 11:13:19 AM »
Hi ,

i am having a problem with "&" in urls when it is producing the "urllist.txt"


this url:  15&products_id=243

is being displayed like this: 15&products_id=243

as you can see the error is that all "&" are being displayed as "&"

hope you can help .


Re: ampersand error & displaying as & in urllist
« Reply #1 on: February 25, 2009, 03:15:34 PM »

according to standards, the ampersand character in URLs is replaced with &, so that is correct. The same in html links, you should write:
<a href="page.php?a=1&amp;b=2">
and not:
<a href="page.php?a=1&b=2">