Answers for "htmlspecialchars in php"

PHP
0

html special characters php

$string = "This is testing message "ETC" ";
htmlspecialchars($string, ENT_COMPAT)
Posted by: Guest on January-06-2021
0

php convert string to chars

<?php

$str = "Hello Friend";

$arr1 = str_split($str);
$arr2 = str_split($str, 3);

print_r($arr1);
print_r($arr2);

?>
Posted by: Guest on April-30-2020

Browse Popular Code Answers by Language