PHP Classes

File: example_html_list.php

Recommend this page to a friend!
  Classes of Marcelo Silva Araujo   HTML List   ???   Download  
File: ???
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: 19 years ago
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();

?>