| open_multipart() | ใช้คืนค่า tag เปิดของ form แบบ post โดยจะใช้ในกรณีที่มีการ upload รูปด้วย |
|---|
method:open_multipart ( action, array_attribute, array_hidden );
return type:string
special:static
content:ใช้คืนค่า tag เปิดของ form แบบ post และจะมีคำสั่ง enctype="multipart/form-data" มาด้วย
example:$action = "control/method"; echo form::open_multipart ( $action, $attributes );
comment:ตัวแปร array_attribute ใช้กำหนด attribute โดย Key คือ attribute และ value คือค่าของ attribute ต้วแปร array_hidden ใช้กำหนด input ประเภท hidden โดย key คือ name และ value คือ ค่าข้อมูล