RE: [PHP-WIN] mysql command problem
| From: | Rich Gray | Date: | Fri, 22 Nov 2002 13:49:37 +0000 |
| Subject: | RE: [PHP-WIN] mysql command problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17083@lists.php.net to get a copy of this message | ||
What error do you get with PHP?
-----Original Message-----
From: Gareth Thomas [mailto:gdthomas@mercurysoft.com]
Sent: 22 November 2002 02:17
To: php-windows@lists.php.net
Subject: [PHP-WIN] mysql command problem
Hi,
I have a Mysql command that when run in PHP does not work and yet when
executed directly in MySQL works fine. The query is:
$query = "UPDATE zone SET current_socket = '' WHERE current_socket LIKE
'R%'";
$result = mysql_query($query);
Anyone have any idea why this wont work in PHP?
Thanks in advance for any help.
Gareth