The following is not achieving what I desire
<?
echo ob_start() . "<br>";
echo "1x<br>";
echo ob_start() . "<br>";
echo "2x<br>";
echo ob_flush() . "<br>";
echo "3x<br>";
echo ob_flush() . "<br>";
?>
The output is the following
1
1x
1
2x
1
3x
1
I am wanting something along the lines of
1x
3x
2x
I assume the problem is its putting the output from the second ob_start() in the first output buffer. But how do I get my desired output?
Edit:
Basically what I am trying to achieve is providing the tag which needs to be in the head of a HTML document at a latter point in the output. Ie, half way through the script after it has already printed the docs head infomation it needs to then provide the .