Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

INSERT to sql database

Status
Not open for further replies.

funkygeezer1975

Technical User
Dec 14, 2004
22
GB
I'm a little stuck trying to insert some data to a record using UPDATE delivery SET ('Locater_ID=$_POST[delnum]', 'Locate_Date=$date'); but will not work for some reason have i got the syntax wrong?

Please help
 
Yes the syntax is wrong.
Code:
UPDATE delivery SET(columname=numeric, othercolumn='string')
So -> don't quote column names but quote strings.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top