INSERT into tbl_inquiry (name,phone,email,subject,message) values ('apoorva','000012345','email@example.com','subject','hi what's up')
Jump to Post
Thats because of 'hi what's up'. It contains single quotes, '.You must escape ' or use double quotes.
using 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
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.