| strip_tags() | ใช้ลบ tag ของภาษา html ออกไป |
|---|
function:strip_tags ( string, tags );
return type:string
content:ใช้ลบ tag ของภาษา html ออกไป
example:$string = "<b><small><font color="red">bamboolabcode</font></small></b>"; echo strip_tags ( $string, "<small>" ); echo strip_tags ( $string, "<b><small>" );
comment:tags คือกำหนด tags ที่ต้องการลบออก