Answers for "php escape single quotes in string"

PHP
1

php remove quotes from string

str_replace(['"',"'"], "", $text)
Posted by: Guest on October-25-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 "php escape single quotes in string"

Browse Popular Code Answers by Language