php,output-buffering,ob-get-contents
You don't need ob_flush() in this situation because ob_get_clean() has already closed the output buffer.
javascript,php,jquery,html,ob-get-contents
use PHP Simple HTML DOM Parser read element of page by id, class & ...