RE: [PHP-WIN] mysql command problem

2002-11-22 Thread Rich Gray
What error do you get with PHP? -Original Message- From: Gareth Thomas [mailto:[EMAIL PROTECTED]] Sent: 22 November 2002 02:17 To: [EMAIL PROTECTED] 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

[PHP-WIN] mysql command problem

2002-11-21 Thread Gareth Thomas
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 i