Login   Register  
PHP Classes
elePHPant
Icontem

File: example2.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Giulio Bai  >  Highlighter  >  example2.php  >  Download  
File: example2.php
Role: Example script
Content type: text/plain
Description: Example #2
Class: Highlighter
Reformat highlighted PHP code
Author: By
Last change:
Date: 7 years ago
Size: 219 bytes
 

Contents

Class file image Download
<?php

include_once('highlighter.php');

$code "Add tag box, highlights the code also";

$highlight = new Highligher;

$code $highlight->add_tags($code"box");
$code $highlight->highlight($code);

echo 
$code;

?>