PHP Classes

File: fwphp/glomodul/z_examples/ora11g/wishlist/public/wishlist.php

Recommend this page to a friend!
  Classes of Slavko Srakocic   B12 PHP FW   fwphp/glomodul/z_examples/ora11g/wishlist/public/wishlist.php   Download  
File: fwphp/glomodul/z_examples/ora11g/wishlist/public/wishlist.php
Role: Example script
Content type: text/plain
Description: Example script
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change: Update of fwphp/glomodul/z_examples/ora11g/wishlist/public/wishlist.php
Date: 1 year ago
Size: 1,667 bytes


Class file image Download
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Wish List Module</title>
        <link href="wishlist.css" type="text/css" rel="stylesheet" media="all" />
            Wish List of <?php echo $_GET['user']; ?> (master with psw)
$wishes = WishDB::getInstance()->get_wishes_by_wisher_name($_GET['user']);

        if (
0 === $wishes->count()) {
<div class="error">
                The person <?php echo $_GET['user'] ?> is not found.
                Please check the spelling and try again.
} else {
<table class="std">
                    <th>Due Date</th>
while ($wishes->valid()) {
$row = $wishes->current();
                    if (
true === is_null($row["ID"])) {
                            <?php echo htmlentities($row['DESCRIPTION']); ?>
                            <?php echo htmlentities($row['DUE_DATE']); ?>
        <?php } ?>