# Outputing html source in php

**URL:** <https://forum.kirupa.com/t/outputing-html-source-in-php/258772>\
**Category:** programming\
**Created:** [April 28, 2008, 6:13am UTC](https://forum.kirupa.com/t/outputing-html-source-in-php/258772 "2008-04-28T06:13:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharkb8](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@sharkb8](https://forum.kirupa.com/u/sharkb8)\
**Post date:** [April 28, 2008, 6:13am UTC](https://forum.kirupa.com/t/outputing-html-source-in-php/258772/1 "2008-04-28T06:13:57Z")

</div>

Im trying to display a bit of html so that the user can copy and paste. My problem is I cant render the tags properly in php. How do you output the source in php?
