"Dvdmandt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Or you could just temporarily enable ob... That's what I do when I have a > function that needs to return lots of HTML containing many ' and "... I know > it's possible to use \ as well, but ob is somewhat easier then...
You're missing the point. Output buffering can be useful, but it is an entirely separate issue from the functional programming style these two are endorsing (and with which I wholeheartedly agree). Too many people learned programming in the BASIC school, writing 'do this, then add this, then append that and the other' programs and ending up with five-page subroutines. A bit of experience with LISP or ML or FORTH can be a wonderful thing; you start to see how to simplify your problems, breaking them into smaller and smaller pieces until all the answers are obvious and there are no places left for bugs to hide, passing the results back to build your final solution and keeping the pieces generic and reuseable. -- Hugh Bothwell [EMAIL PROTECTED] Kingston ON Canada v3.1 GCS/E/AT d- s+: a- C+++ L++>+++$ P+ E- W+++$ N++ K? w++ M PS+ PE++ Y+ PGP+ t-- 5++ !X R+ tv b++++ DI+++ D-(++) G+ e(++) h-- r- y+ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php