PHP Classes

File: HtmlSample.php

Recommend this page to a friend!
  Classes of Tarcísio Xavier Gruppi   Image to PHP Standalone Output   HtmlSample.php   Download  
File: HtmlSample.php
Role: Example script
Content type: text/plain
Description: Exemple of HTML use
Class: Image to PHP Standalone Output
Generate a class to serve a list of images
Author: By
Last change:
Date: 15 years ago
Size: 355 bytes
 

Contents

Class file image Download
<?php
require_once("Images.php");
?>
<table>
    <tr>
        <td><img src="<?php echo Images::getInlineCode('docGif'); ?>"/></td>
        <td><pre>&lt;img src="&lt;?php echo Images::getInlineCode('docGif'); ?&gt;"/&gt;</pre></td>
    </tr>
    <tr>
        <td><img src="Images.php?i=folderGif"/></td>
        <td><pre>&lt;img src="Images.php?i=folderGif"/&gt;</pre></td>
    </tr>
</table>