| form_input( array_input ) | ใช้สร้าง input ประเภท text |
|---|
function:form_input ( array_input )
return type:string
content:ใช้สร้าง input ประเภท text
example:$input = array ( "name"=>"name", "class"=>"text", "maxlength" => "20" ); echo form_input ( $input );
comment:ตัวแปร array_input เป็นตัวแปร array โดย key คือ ชื่อแอททริบิวต์ และ value คือค่าข้อมูลของแอททริบิวต์นั้นๆ