Login   Register  
PHP Classes
elePHPant
Icontem

File: example1.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  >  example1.php  >  Download  
File: example1.php
Role: Example script
Content type: text/plain
Description: Example #1
Class: Highlighter
Reformat highlighted PHP code
Author: By
Last change:
Date: 7 years ago
Size: 293 bytes
 

Contents

Class file image Download
<?php

include_once('highlighter.php');

$highlight = new Highligher;

$code "tag box; only tags, not highlight";
$code $highlight->add_tags($code"box");

echo 
$code;


$code "div class boxed; only tags, not highlight";
$code $highlight->add_tags($code"boxed"1);

echo 
$code;

?>