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