Login   Register  
PHP Classes
elePHPant
Icontem

File: example_html_list.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Marcelo Silva Araujo  >  HTML List  >  example_html_list.php  >  Download  
File: example_html_list.php
Role: Example script
Content type: text/plain
Description: Example about HTML_List class
Class: HTML List
Build a list of links from an associative array
Author: By
Last change:
Date: 2005-08-03 05:37
Size: 393 bytes
 

Contents

Class file image Download
<?php

 
/*
 * Creates and display a html list.  
 * Background color: orange
 * Font: sans-serif Type: disc Font-Color: black
 * You can create html lists through a database too.
 */

$links = array("cv.php"=>"Curriculum Vitae","info.php"=>"Information","courses.php"=>"Courses");
$html_list = new HTML_List($links,'sans-serif','black','orange','disc');
$html_list->Display();

?>