Sorry I don't speak chinese, Just Like Codeigniter or any other php framework, they have Helper / Library for custom function & library function allowTags($text) { $tags = '<strong><h1><h2>...