PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of maher ben abdesslam   Easy Form   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: this is tiny exaample
Class: Easy Form
Output very simple HTML forms
Author: By
Last change:
Date: 8 years ago
Size: 355 bytes
 

Contents

Class file image Download
<?php
   
require "Elements.php";

   
$f=new Form("method='get' action='index.php'");
   
$e=new Elements();
   
$e->before("<label>");
   
$e->element("checkbox","value='product'");
   
$e->after("one </label>");
   
$e->before("name :");
   
$e->element("text","placeholder='name'");
   
$e->before("<br>");
   
$e->element("submit","value='envoyer'");
   
$f->closeForm();