PHP Snippet Program or text view

They have: 1 posts

Joined: Aug 2006

Hello,

I'm looking for a snippet program or a text type view program. Something where users can see the code and copy and paste it then save the file for themselves. This could be a simple program that shows code only, but I need categories. Any help would be appreciated.

Busy's picture

He has: 6,151 posts

Joined: May 2001

To view a whole php pages code just link to the same file that has a made up file extension: phppage.phpt or similar.

To display snipets on the page use < for < and > for > on the php tags (

<?php
and
?>
) and the code will display as text rather than working code

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.