PHP Classes

File: showguestbook.php

Recommend this page to a friend!
  Classes of Frederik Yssing   Guestbooks   showguestbook.php   Download  
File: showguestbook.php
Role: Example script
Content type: text/plain
Description: the part to show individual entries
Class: Guestbooks
Manage guestbooks or simple blogs using MySQL
Author: By
Last change:
Date: 12 years ago
Size: 558 bytes
 

Contents

Class file image Download
<?php
   
include_once('guestbook.class.php');
   
$guestbookAdmin = new guestbookAdmin();
   
    list(
$id, $name, $headline, $text, $image, $date) = $guestbookAdmin->readSingleGuestbook($_REQUEST['id']);
?>
<table border="1" width="600">
    <tr>
        <td colspan="2" align="left" width="200"><?php echo $headline?></td>
    </tr>
    <tr>
        <td valign="top" align="center"><img src="<?php echo $image?>" width="160" /><br />By: <?php echo $name?><br />On: <?php echo $date?></td>
        <td valign="top" align="left" width="400"><?php echo $text?></td>
    </tr>
</table>