umm, no, you assigned $string to the output and you flushed it and
you echoed $string. maybe you mean ob_end_clean()?
-aaron
At 12:22 AM -0300 4/6/01, Christian Dechery wrote:
>take a look at this small code:
>
>ob_start();
>echo "something";
>echo "something else";
>$string=ob_get_contents();
take a look at this small code:
ob_start();
echo "something";
echo "something else";
$string=ob_get_contents();
ob_end_flush();
echo $string."";
shouldn't this be the output?
something
something else
so why it outputs this?
something
something else
something
something else
2 matches
Mail list logo