Web Development and Design Blog
23. Dec, 2007 0 Comments
This is useful if you want to display your code to your website, blog or community forum.
<?php $text = '<?php echo \'hello world\'; ?>'; $encode = htmlentities($text); $decode = html_entity_decode($encode); echo 'Encode '.$encode; echo '<br />'; echo 'Decode '.$decode; ?>
Notify me of followup comments via e-mail
No comments yet... Be the first to leave a reply!