Seems that print_r didn't work for capturing the results of a  
*function* however it captures the reuslts of say, an array, just fine.

I'm now using Alexei's solution :-)

This page is beneficial for anybody interested in this topic:

http://nz.php.net/manual/en/ref.outcontrol.php

Phil


On 25/09/2008, at 3:13 PM, Nick Taylor wrote:

>
>
>
> That'd be my guess as well - and it's possibly not that left-field. I
> find the ob_start() stuff to be fairly crucial when working with the
> likes of Wordpress - where everything is thrown at the screen as  
> soon as
> it springs to mind (as it were).
>
> The apps I write don't do this... they accumulate the whole page as a
> string, then output (or write it to a cache or whatever) it at the  
> end.
>


--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to