How do i show the source code on my output page?
Im adding tutorials to my website and i dont know how to show it :(
Printable View
How do i show the source code on my output page?
Im adding tutorials to my website and i dont know how to show it :(
If there PHP rename them to somthing like "file.phps" then do file_get_contents and echo it out.
Clicky Clicky
^^^^^^^^
That what you looking for?
Thanks for the help but ive decided to use text area's :P
<textarea>
<?php include("URL HERE"); ?>
</textarea>
Or to make it even simpler
<textarea>
CODE
</textarea>