<?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><form action='example2.php' method='post' enctype='' id='id class='class' name='form1' target='_self'>Name:<input name='Name' type='text' id='id class='class' value='' size='50' maxlength='50' /><input name='submit' type='submit' id='id class='class' value='Submit'></form></p>
|