How do you add something to the beginning of the output buffer?
For example, let's say you have the following code:
ob_start(); echo '<p>Start of page.</p>'; echo '<p>Middle of page.</p>'; echo '<p>End of page</p>';
Before clearing the contents of the browser, how can I add something so that it appears before <p>Start of page.</p> when the page loads?
It sounds simple enough, like moving a pointer to the beginning of an array, but I could not find how to do this with the output buffer.
source share