Jump to content

MYSQL insert with single quotes


computermax2328

Recommended Posts

Hello again,

 

Just a quick question, I couldn't think of the term to use to google search for this answer. In my MYSQL INSERT or UPDATE command I am getting an error because the name I am trying to insert has a ' in the last name, like O'Riley.

 

What is the command called to filter the ' to be inserted into the database? I couldn't find.

 

Thanks again!

Link to comment
https://forums.phpfreaks.com/topic/264188-mysql-insert-with-single-quotes/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.