PHP Classes

File: examples/library/view/edition_edit.php

Recommend this page to a friend!
  Classes of Victor Bolshov   Tiny PHP ORM Framework   examples/library/view/edition_edit.php   Download  
File: examples/library/view/edition_edit.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Tiny PHP ORM Framework
Map objects to databases using composed queries
Author: By
Last change:
Date: 8 years ago
Size: 805 bytes
 

Contents

Class file image Download
<form method="post" action="edition_save.php" class="form" id="save-form">
    <input type="hidden" name="id" value="<?=$edition->id?>">
    <input type="hidden" name="book_id" value="<?=$edition->book_id?>">

    <label>Year:</label>
    <input type="text" name="year" value="<?=htmlspecialchars($edition->year)?>" class="form-control"
           placeholder="Integer number">

    <label>ISBN:</label>
    <input type="text" name="isbn" value="<?=htmlspecialchars($edition->isbn)?>" class="form-control"
        placeholder="any string ;-)">

    <label>Instances:</label>
    <input type="text" name="instance_count" value="<?=htmlspecialchars($edition->instance_count)?>" class="form-control"
           placeholder="Integer number">

    <br>
    <input type="submit" class="btn btn-primary">
</form>