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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Syntax Error

Status
Not open for further replies.

fatmbk

Technical User
Jul 11, 2002
29
0
0
GB
Can anyone advise me on how to correct this apparent syntax error?

add = "INSERT INTO tblProducts (Name,Description,Category,Keywords,ImagePath,Price) VALUES ('"+name+"','"+description+"','"+category+"','"+keywords+"','images/"+image+"',"+price+")";

Cheers,

Fatmbk
 
Sure can but what program are you using?

possibly replace all + with &

==========================
Sorry to be terse
some say it's a curse
I know it's worse
I'm just diverse
-Tim
 
I'm using it in the context of ASP connecting to an Access database.

Thanks!
 
Suggest you post in the Access forum to find out what the final insert query should look like, then in the ASP forum if you're having problems building that from the ASP page.

--James
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top