Search
 
SCRIPT & CODE EXAMPLE
 

PHP

htmlspecialchars_decode (PHP 5 >= 5.1.0, PHP 7, PHP 8) htmlspecialchars_decode — Convert special HTML entities back to characters

<?php
$str = "<p>this -&gt; &quot;</p>
";

echo htmlspecialchars_decode($str);

// note that here the quotes aren't converted
echo htmlspecialchars_decode($str, ENT_NOQUOTES);
?>
Comment

PREVIOUS NEXT
Code Example
Php :: laravel select selected 
Php :: zero padding php 
Php :: php filters 
Php :: hash password laravel 
Php :: convert scientific notation to decimal php 
Php :: php read mysql 
Php :: php mysql prepare query 
Php :: laravel grouping where 
Php :: search query in laravel 
Php :: laravel factory get foreign key 
Php :: file upload in php mysql 
Php :: print array in php 
Php :: symfony migration down 
Php :: wordpress Warning: Cannot modify header information - headers already sent by 
Php :: wordpress log errors 
Php :: how to serve the port in php 
Php :: php serialize() 
Php :: redirect from http to https laravel 
Php :: how to check user already exists in php 
Php :: string compare in php 
Php :: php rotate image 
Php :: php unlink 
Php :: call php function in js 
Php :: laravel eloquent relationships count 
Php :: get post in php 
Php :: laravel with callback 
Php :: how to show image from php 
Php :: shortcode php wordpress 
Php :: learndash edit profile link 
Php :: Remove last symbol from string 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =