Re: odbc_result_all, where in PHP's source code???
| From: | Torsten Roehr | Date: | Tue, 27 Apr 2004 21:50:47 +0000 |
| Subject: | Re: odbc_result_all, where in PHP's source code??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184812@lists.php.net to get a copy of this message | ||
"Scott Fletcher" <scott@abcoa.com> wrote in message
news:20040427213510.2570.qmail@pb1.pair.com...
> Hi!
>
> Where in the downloadable PHP source code file is the one that contain
> the c/c++ codes for PHP's function odbc_result_all()???
>
> I want to study it so I can write a php codes that act like
> odbc_result_all() but with no output being spitted out, which instead
would
> be assigned to the session variable.
>
> Thanks,
> FletchSOD
Maybe you can use PHP's output buffering functions to achieve the desired
effect:
http://de2.php.net/manual/en/function.ob-start.php
The buffered output can be assigned to a variable (for example your session
variable).
Regards, Torsten