Login   Register  
PHP Classes
elePHPant
Icontem

File: Form.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Abdullah Al-Otibi  >  easyForm  >  Form.php  >  Download  
File: Form.php
Role: Example script
Content type: text/plain
Description: demo easy form
Class: easyForm
Generate HTML form inputs
Author: By
Last change:
Date: 7 years ago
Size: 689 bytes
 

Contents

Class file image Download
<?php
include_once("Class_Form.php");
$Form = new OtibiForm();
print 
'<form name="form1" method="post" action="enter.php">';
print 
'<table width="100%" border="0" cellspacing="4" cellpadding="0">';
print 
'<tr><td><pre>'.
$Form->_Field("txt"."password"."txt","name.pass.email","الاسـم.الباسورد.البريد").'
</td></tr>
<tr><td>'
.
$Form->_Select("ذكر.انثى","sex").' الجنس
</td></tr>
<tr><td>'
.
$Form->_Radio("sex.sex","ذكر.انثى").' الجنس
</td></tr>
<tr><td>'
.
$Form->_Checkbox("PHP.ASP.MYSQL").' اللغه المفضله
</td></tr>
<tr><td>'
.
$Form->_Textarea("massge",10,40).' صندوق الحوار
</tr></td>
<tr><td>'
.
$Form->_Submit("submit").'
</tr></td></pre>
</table></form>'
;

?>