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 can use the str_replace() following :
str_replace()
str_replace('"', "'", $text);
str_replace
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
$title = str_replace('"', "'", $title);
You can use the
str_replace()
following :str_replace