I am working with PHP4 and have some company names in a mysql database which sometimes have "&" as part of the string. For example "Smith & Jones".
When I run a query on the database, the query only returns "Smith" instead of "Smith & Jones". I have got round this in the past by using "Smith and Jones" as I know that "&" has some special significance.
How can I get round this and get the "&" in Smith & Jones to be treated as a literal part of the string, so that "Smith & Jones" is returned and not just "Smith"?
Thanks Rob