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