| mailto() | ใช้คืนค่า tag a ที่เป็นการ link เพื่อการส่ง email ไปยัง email ที่กำหนด |
|---|
method:mailto ( email, title, array_attribute );
return type:string
special:static
content:ใช้คืนค่า tag a ที่เป็นการ link เพื่อการส่ง email ไปยัง email ที่กำหนด โดยจะมีการ encode ข้อความ email ( เมื่อดูจาก source code ) ให้ด้วย เพื่อปกป้องจาก spam และ email havesting
example:$email = "bamboolabcode@gmail.com"; echo html::mailto ( $email, "bamboolabcode" );
comment:ตัวแปร array_attribute ใช้กำหนด attribute โดย Key คือ attribute และ value คือค่าของ attribute