PHP Classes

File: fwphp/glomodul/z_examples/MVC_FW/ngrt_MVC_todo/Views/Ngrt_MVC_todo/edit.php

Recommend this page to a friend!
  Classes of Slavko Srakocic   B12 PHP FW   fwphp/glomodul/z_examples/MVC_FW/ngrt_MVC_todo/Views/Ngrt_MVC_todo/edit.php   Download  
File: fwphp/glomodul/z_examples/MVC_FW/ngrt_MVC_todo/Views/Ngrt_MVC_todo/edit.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change: Update of fwphp/glomodul/z_examples/MVC_FW/ngrt_MVC_todo/Views/Ngrt_MVC_todo/edit.php
Date: 1 year ago
Size: 661 bytes
 

Contents

Class file image Download
<h1>Edit task</h1>
<form method='post' action='#'>
    <div class="form-group">
        <label for="title">Title</label>
        <input type="text" class="form-control" id="title" placeholder="Enter a title" name="title" value ="<?php if (isset($task["title"])) echo $task["title"];?>">
    </div>

    <div class="form-group">
        <label for="description">Description</label>
        <input type="text" class="form-control" id="description" placeholder="Enter a description" name="description" value ="<?php if (isset($task["description"])) echo $task["description"];?>">
    </div>
    <button type="submit" class="btn btn-primary">Submit</button>
</form>