Normal. MySQL returns 0 changes when the data before and after the UPDATE is
the same.

-----Original Message-----
From: Tom Lobato [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 21, 2006 9:50 AM
To: mysql@lists.mysql.com
Subject: Re: WHERE doesn't work


Writing echo
    "<p>-".mysql_error()."-<P>-".mysql_info()."-<p>"; 
below 
    $result = mysql_query($command);
gives the output:

-- 
-Rows matched: 2 Changed: 0 Warnings: 0-


So, it seems mysql doesnt get error. It simply ignores the WHERE.



>From: "George Law" <[EMAIL PROTECTED]>
>echo mysql_error()."<P>".mysql_info();


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to