doubt in ob_*() functions
| From: | Christian Dechery | Date: | Fri, 06 Apr 2001 03:22:18 +0000 |
| Subject: | doubt in ob_*() functions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-47385@lists.php.net to get a copy of this message | ||
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