PHP Classes

File: views/Products/form.mvc.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   PHP MVC Framework   views/Products/form.mvc.php   Download  
File: views/Products/form.mvc.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP MVC Framework
Example application using an MVC framework
Author: By
Last change:
Date: 1 month ago
Size: 338 bytes
 

Contents

Class file image Download
<label for="name">Name</label>
<input type="text" id="name" name="name" value="{{ product["name"] }}">

{% if (isset($errors["name"])): %}
    <p>{{ errors["name"] }}</p>
{% endif; %}

<label for="description">Description</label>
<textarea id="description" name="description">{{ product["description"] }}</textarea>

<button>Save</button>