Ok...I get what you're saying there...but it's not that simple to use arrays, is it? That str_replace doesn't replace each variable in the array; it'll just do the first one, if any at all, because there are multiple values in the array - correct?
I have a textbox that I will be submitting info into. All my info comes from users on MS-Word. I need to run a str_replace on the info I paste from word in the box to replace all instances of single and double quotes, as well as the combined dash MS-Word makes when you use two dashes.
This is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.