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: 6 years ago
Size: 805 bytes


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?>">

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

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

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

    <input type="submit" class="btn btn-primary">

For more information send a message to info at phpclasses dot org.