Modify an Existing PHP Function to Return a String

前端 未结 3 1296
故里飘歌
故里飘歌 2020-12-02 01:36

I have a simple PHP function that outputs HTML.


... $content = ob_get_contents(); ob_end_clean(); return $content; } ?>

You can even do some processing on the string before returning it. OB rocks!

提交回复
热议问题