Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

ob_start in php

ob_start(); //Start remembering everything that would normally be outputted, but don't quite do anything with it yet
$output = ob_get_contents(); //Gives whatever has been "saved"
ob_end_clean(); //Stops saving things and discards whatever was saved
ob_flush(); //Stops saving and outputs it all at once
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php
ADD COMMENT
Topic
Name
2+5 =