PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Roberto  >  array_to_image  >  test.php  >  Download  
File: test.php
Role: ???
Content type: text/plain
Description: How to use the class
Class: array_to_image
Author: By
Last change:
Date: 20 years ago
Size: 884 bytes


Class file image Download

//include the class

//array to be shown as image



/* params name:
 array_to_image(array(), font, cellspacing,
        center, max_x, max_y, type,
        head_bgcolor, head_txt_color,
        even_bgcolor, even_txt_color,
        odd_bgcolor, odd_txt_color)

//call the costructor whit parameters
$image= new array_to_image($array,3,5,
        "128,128,128", "0,0,0",
        "230,230,230", "0,0,0",
        "255,255,255", "0,0,0");

//set name to give to the image
$name = "testimage";
//store the image

//to show the image use this:

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