Answers for "html special chars"

2

html special char

< : &lt;
> : &gt;
Posted by: Guest on May-05-2021
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
1

html entity at sign

&#64;
&commat;
Posted by: Guest on January-01-2021

Browse Popular Code Answers by Language