Re: & update
| From: | David Christensen | Date: | Mon, 25 Mar 2002 01:27:07 +0000 |
| Subject: | Re: & update | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17874@lists.php.net to get a copy of this message | ||
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