Answers for "how to escape quotes in a string using php fun"

PHP
0

php remove quotes

str_replace('"', "", $string);
Posted by: Guest on January-13-2021
0

ent_quotes in php

if (isset($_GET['person'])) {
    $person = $_GET['person'];
} else {
    $person = 'Kinjal';
}
echo 'Hello, ' . htmlspecialchars($person, ENT_QUOTES);
Posted by: Guest on September-29-2021

Code answers related to "how to escape quotes in a string using php fun"

Browse Popular Code Answers by Language