If I use a double quote in title of my application i have a problem , then I want to create a condition :
if i have double quote , use single quote .
Thanks you very much !
If I use a double quote in title of my application i have a problem , then I want to create a condition :
if i have double quote , use single quote .
Thanks you very much !
You haven't provided much context for your question so it's difficult to know exactly how to help, but lets say you have a variable called $title
with double quotes in it, you can replace them like this:
$title = str_replace('"', "'", $title);