converting html to php code example
Example: 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>";
?>
// html_entity_decode (php)
Ex:
<style>
.red {
color: red;
}
.bold {
font-weight: bold;
}
</style>
<?php
echo "<font class='red bold'> * required </font>";
?>