Tom Lobato wrote:
>
> Hi!
>
>
> UPDATE command is not working for only the record that I want, but for
> all in the table. I sees WHERE is not interpretated by Mysql server. At
> least the result is identic to it. For example, If my php execute
>
> UPDATE clientes SET tipo='r', nome_fantasia='cc', estado='24'
> WHERE id = '5'
>
> on the server, I have all records in the table clientes updated for these
> values. But, if I copy exactily this command from php output and execute in
> the Mysql server directly, via some mysql client, it updates only record
> whose id = '5'. PHP Version: 4.4.2, Mysql client API version: 3.23.49.
> For windows servers or Linux.
> Some Hint?
>
>
>
> Thank you
> Tom
>
Tried: WHERE id = 5
?
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.