Login   Register  
PHP Classes
elePHPant
Icontem

File: showguestbook.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2 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>