Re: Lions and tigers and slashes, oh my!

From: Date: Fri, 13 Jan 2006 17:03:39 +0000
Subject: Re: Lions and tigers and slashes, oh my!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-228574@lists.php.net to get a copy of this message
Jay, Jay Blanchard wrote: > I am having a problem with a an ampersand sign. I have a list of things on a > page, in which one category is 'Oil & Gas'. I store it in the database as > 'Oil & Gas'. When the category is clicked the query string shows just an > ampersand, i.e. > > "Filter=Process&FilterKey=Oil%20&%20Gas&Order=Application&Direction=ASC&comm > ents=" and therefore just shows as an '&' and the query only sees > 'Oil'. > > I guess that I am too tired to deal with this or the answer would come to > mind immediately. Can someone drop kick me in the right direction? Thanks! Probably not the answer you're looking for, and somewhat site-stepping the issue, but can't you use the category key instead of its title? David -- David Grant http://www.grant.org.uk/

« previous php.general (#228574) next »