Jump to content

replace ' to "


Monkuar

Recommended Posts

Hello, I need a php function or some type of little parser that will find if a user submit's a

 

'

 

then it converts it into

 

"

before I grab it and submit it into my database? How would I go about getting some code to convert all the input ' to "  ?

 

Thank you,

 

Link to comment
https://forums.phpfreaks.com/topic/252615-replace-to/
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.