What does this line do? Can anyone explain it to me.
ob_start();
This function will turn output buffering on. While output buffering is active no output is sent from the script (other than headers), instead the output is stored in an internal buffer.
Source : PHP online manual
Link : http://in2.php.net/ob_start
View example listed there to get a better idea
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.