php printing and updation in to db

Posted by DAFFODIL on Stack Overflow See other posts from Stack Overflow or by DAFFODIL
Published on 2010-04-19T16:45:30Z Indexed on 2010/04/19 16:53 UTC
Read the original article Hit count: 186

Filed under:

I have few values existing in data base,i need to update them but,i am unable to do it.

UPDATE Phone SET dcno='1' WHERE number='1' AND date='12/03/2009' AND dcnodate='11/05/2009' AND yourorderno='1' AND orderdate='23/06/2010' AND vendorcode='2222

Couldn't execute query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''2222' at line 3

I also need to print 3db value in to one form,i m unable to do it.

Any help ii be appreciated.

http://dpaste.com/hold/185341/

© Stack Overflow or respective owner

Related posts about php