Let's imagine that I did an "echo '1234';". That sticks a "1234" in PHP's output buffer. Next, I want to discard everything in the output buffer. Finally, I want to do an "echo 'abcd';". The final output I expect on the page is "abcd".
What is the command that will discard the output buffer?
Example:
echo "1234";
// somehow clear the output buffer here
echo "abcd";
Page Output:
abcd
Thank you,
Jon