Re: doubt in ob_*() functions

From: Date: Fri, 06 Apr 2001 03:30:42 +0000
Subject: Re: doubt in ob_*() functions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-47388@lists.php.net to get a copy of this message
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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.general (#47388) next »