INSERT into tbl_inquiry (name,phone,email,subject,message) values ('apoorva','000012345','email@email.com','subject','hi what's up')
apoorvashah28
0
Newbie Poster
Recommended Answers
Jump to PostThats because of 'hi what's up'. It contains single quotes, '.You must escape ' or use double quotes.
likeusing double quotes instead of single quote or vice versa if there is any one of them only in your data
INSERT INTO tbl_inquiry( name, phone, email, subject, …
All 4 Replies
IIM
163
Master Poster
RomelynCastillo
0
Newbie Poster
Reverend Jim
4,678
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
chocolatte.lavista_1
-3
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.