Jump to content

Removing Quotations from Submitted Forms


leachus2002

Recommended Posts

Hi There,

 

I am putting a form together that when submitted, pumps data in to an SQL DB. However I am having problems with quotation marks - for example, it's and her's and thier's cause an error, because the insert statement takes the quote as the end of the row.

 

How can PHP handle this so that it either removes, or replaces that quote?

 

Thanks

Matt

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.