Click here to Skip to main content
14,638,655 members
Rate this:
Please Sign up or sign in to vote.
See more:
I am using DB_DataObject in PHP with mySQL db.


The above query is rendered as
"update table set name ='$newName' where name='$newName' and ID=$id;"
instead of
"update table set name ='$newName' where ID=$id;"

Thanks in advance for the answer.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100