![]() |
|
|
+ Search |
![]()
|
Jul 2nd, 1999 01:22
Nathan Wallace,
Not easily. PHP4 will have support for output buffering. In the meantime, you can accumulate your data in an array, and then output the array conditionally. Replace your "echo" or "print" commands with: $line[] = and then when you figure out you need to redirect, just redirect; else loop over $line and echo every row. It's a low-tech solution, but it works.