PHP Classes

File: examples/library/view/author_edit.php

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

Contents

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

    <label>Name:</label>
    <input type="text" name="name" value="<?=htmlspecialchars($author->name)?>" class="form-control"
           placeholder="Enter some name">

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