Use single quotes around the string!

Chris Payne wrote:

> Looking at the below, I think it might be spaces in the query - how can I
> rectify this?  Thanks :-)
> 
> Chris
> 
> Hi there,
> 
> I have a system for updating whereby you select the country/continent from a
> db then edit the record and update it and it works perfectly - that is until
> there is a & in the update $country set - so if it says Africa it updates
> fine, but if $country = Asia & The Orient it doesn't update, any ideas how I
> can fix this?
> 
> Thanks everyone.
> 
> Chris
> 
> 
> 
> 



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to