Re: [PHP-DEV] [pear] database abstraction / general questions From: Chuck Hagenbuch (chagenbu <email protected>)
Date: 07/05/00

Quoting Sebastian Bergmann <sebastian.bergmann <email protected>>:

> 1.) Could anyone give me or point me to an example of the use of
> PEAR's database abstraction, for instance with MySQL, please?

I've attached a (very) simple script that is currently working with the DB
stuff in current cvs.

> 2.) Why do the pear/db classes use call-time pass-by-reference?
> It's been deprecated as far as I know and one is encouraged to
> disable it in the php.ini.

I'll look into this. The classes were written before the feature set of php4
was finalized.

> 3.) Where can I find information on the include_once() and use
> functions / statements?

use does not exist anymore. include_once is exactly like include, but it is
guaranteed not to include a file more than once.

> 4.) How does one install PEAR (on Win32)? I added the php/pear/
> directory to my include_path for the time beeing.

That should be it.

> 5.) Is there a special PEAR-related mailinglist?

php-pear <email protected>

-chuck

--
Charles Hagenbuch, <chagenbu <email protected>>
--
"hello, I'm a giant cheese, and I'm here to give you a therapeutic massage"

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>