Login   Register  
PHP Classes
elePHPant
Icontem

File: example2.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Roberto Aleman  >  Auto HTML Forms  >  example2.php  >  Download  
File: example2.php
Role: Example script
Content type: text/plain
Description: minimal use example
Class: Auto HTML Forms
Compose and output HTML forms
Author: By
Last change: update with id and class field
Date: 5 years ago
Size: 1,028 bytes
 

Contents

Class file image Download
<?php 
/*Class autohtmlforms v 1.0 is used for engine basic html form, textfields, textareas,radio buttons, check buttons, and form, hr, br and label tags,
is a easy way to modular oop with php Author : Roberto Aleman, Email: ventics@gmail.com */
if( isset($_POST['submit'])){
echo 
$_POST[Name]." ";}
require_once(
"autohtmlforms.php");
$newtextf = new autohtmlforms(); 
$newbutton = new autohtmlforms();
$newform= new autohtmlforms();
echo 
$newform->FormEng("id","class","example2.php","post","","form1","_self");  
echo 
$newtextf->TextFieldEng("id","class","Name","text","","50","50");  
echo 
$newbutton ->ButtonEng("id","class","submit","submit","Submit");  


?>
<p>/* this example engine is*/</p>
<p>&lt;form action='example2.php' method='post' enctype='' id='id  class='class' name='form1' target='_self'&gt;Name:&lt;input name='Name' type='text' id='id  class='class' value='' size='50' maxlength='50' /&gt;&lt;input name='submit' type='submit' id='id  class='class' value='Submit'&gt;&lt;/form&gt;</p>