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