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<br>";
>echo "something else<br>";
>$string=ob_get_contents();
>ob_end_flush();
>
>echo $string."<br>";
>
>shouldn't this be the output?
>
>something
>something else
>
>so why it outputs this?
>
>something
>something else
>something
>something else
>____________________________
>. Christian Dechery (lemming)
>. http://www.tanamesa.com.br
>. Gaita-L Owner / Web Developer
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to