Answers for "php string to html"

PHP
2

convert html code php

// html_entity_decode (php)

Ex:

<style>
.red {
  color: red;
}

.bold {
  font-weight: bold;
}
</style>
<?php
echo "<font class='red bold'> * required </font>";
?>
Posted by: Guest on October-13-2020
0

php text to html

htmlentities(`<script>alert(1)</script>`)
Posted by: Guest on September-14-2021

Browse Popular Code Answers by Language