Hi folks,
I'm trying to upload some user data to my db, and I've got a few odd entries - some of my first names have apostrophes, and it's throwing off my INSERT - do you frame it with \ \ like 'D'Juan' becomes '\D'Juan\' - is that right?
More to the topic, I have a user with the last name Grant, and in my upload, it keeps erroring here as well.
A sample line to pick apart:
INSERT INTO `tbl_users` (`firstName`, `lastName`, `username`, `pwd`) VALUES('Tony','G***','tony.g***@*****.com','G*****');
Asterisks added to protect the innocent.
I'd be happy to RTFM if someone will point me to the page . . .
Regards,
Nedstar1
I'm trying to upload some user data to my db, and I've got a few odd entries - some of my first names have apostrophes, and it's throwing off my INSERT - do you frame it with \ \ like 'D'Juan' becomes '\D'Juan\' - is that right?
More to the topic, I have a user with the last name Grant, and in my upload, it keeps erroring here as well.
A sample line to pick apart:
INSERT INTO `tbl_users` (`firstName`, `lastName`, `username`, `pwd`) VALUES('Tony','G***','tony.g***@*****.com','G*****');
Asterisks added to protect the innocent.
I'd be happy to RTFM if someone will point me to the page . . .
Regards,
Nedstar1