Login   Register  
PHP Classes
elePHPant
Icontem

File: example2.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Piotr Malinski  >  HTML Friends  >  example2.php  >  Download  
File: example2.php
Role: Example script
Content type: text/plain
Description: Example file
Class: HTML Friends
PHP wrapper to use dhtmlgoodies.com DHTML widgets
Author: By
Last change:
Date: 2006-02-19 08:08
Size: 494 bytes
 

Contents

Class file image Download
<?PHP
include 'html_friends.php';
$a = new html_friends();
echo 
$a->table_init();
echo 
$a->table('<table>
<thead>
    <tr><th>Ingredients</th><th>serves 12</th><th>serves 24</th></tr>
</thead>
<tfoot>
    <tr><td colspan="3"><ol>
        <li>test hehehehe  :)</li>
    </ol></td></tr>
</tfoot>
<tbody>
        <tr><td>milk</td><td>1 quart</td><td>2 quart</td></tr>
        <tr class="odd"><td>cinnamon sticks</td><td>2</td><td>1</td></tr>
        <tr><td>vanilla bean, split</td><td>1</td><td>2</td></tr>
</tbody></table>'
); ?>