PHP Classes

File: example2.php

Recommend this page to a friend!
  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: 15 years ago
Size: 219 bytes


Class file image Download


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

$highlight = new Highligher;

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



For more information send a message to info at phpclasses dot org.