I think right you need to check urlencode.

You can check a nice example at following php mysql resource site
http://www.weberdev.com/get_example-481.html

Thanks
Richard Correia


On 1/13/06, Jay Blanchard <[EMAIL PROTECTED]> 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 &amp; 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!
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Reply via email to