[PHP] Lions and tigers and slashes, oh my!

2006-01-13 Thread Jay Blanchard
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.

Re: [PHP] Lions and tigers and slashes, oh my!

2006-01-13 Thread Stut
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 amp; Gas'. When the category is clicked the query string shows just an ampersand, i.e.

Re: [PHP] Lions and tigers and slashes, oh my!

2006-01-13 Thread Dotan Cohen
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.

Re: [PHP] Lions and tigers and slashes, oh my!

2006-01-13 Thread David Grant
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 amp; Gas'. When the category is clicked the query string shows just an ampersand, i.e.

Re: [PHP] Lions and tigers and slashes, oh my!

2006-01-13 Thread John Nichel
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 amp; Gas'. When the category is clicked the query string shows just an ampersand, i.e.

Re: [PHP] Lions and tigers and slashes, oh my!

2006-01-13 Thread Dotan Cohen
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.

Re: [PHP] Lions and tigers and slashes, oh my!

2006-01-13 Thread Jochem Maas
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 amp; Gas'. When the category is clicked the query string shows just an ampersand, i.e. 'problem' 1 is the form in

RE: [PHP] Lions and tigers and slashes, oh my!

2006-01-13 Thread Jay Blanchard
[snip] hope the kick didn't break anything. :-) [/snip] Nah, just having a senior moment. Since it is a query string issue I converted the database (even though it is strictly a web database in this case) to 'Oil Gas'. The query string sees the ampersand and doesn't show anything past that in

Re: [PHP] Lions and tigers and slashes, oh my!

2006-01-13 Thread Richard Correia
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

Re: [PHP] Lions and tigers and slashes, oh my!

2006-01-13 Thread David Grant
Jay, Jay Blanchard wrote: [snip] hope the kick didn't break anything. :-) [/snip] Nah, just having a senior moment. Since it is a query string issue I converted the database (even though it is strictly a web database in this case) to 'Oil Gas'. The query string sees the ampersand and

Re: [PHP] Lions and tigers and slashes, oh my!

2006-01-13 Thread Jochem Maas
Jay Blanchard wrote: [snip] hope the kick didn't break anything. :-) [/snip] Nah, just having a senior moment. Since it is a query string issue I converted the database (even though it is strictly a web database in this case) to 'Oil Gas'. The query string sees the ampersand and doesn't show

Re: [PHP] Lions and tigers and slashes, oh my!

2006-01-13 Thread Richard Lynch
On Fri, January 13, 2006 10:55 am, 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 amp; Gas'. Don't. The DATA to be stored in the database is 'Oil Gas' When it's

RE: [PHP] Lions and tigers and slashes, oh my!

2006-01-13 Thread Jay Blanchard
[snip] [/snip] Well said Richard, well said. That is ultimately what I went and did. I am just operating on too little sleep right now, and a couple of times today the simplest things eluded me. I made sure that all of the amp;'s were change to in the database (one I inherited, not an

Re: [PHP] Lions and tigers and slashes, oh my!

2006-01-13 Thread Curt Zirzow
Bear (pun intened) with me on this one i havn't read the whole thread, so you may get a repeat answer. On Fri, Jan 13, 2006 at 10:55:00AM -0600, 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