Re: [pear] database abstraction / general questions
| From: | Chuck Hagenbuch | Date: | Wed, 05 Jul 2000 22:50:44 +0000 |
| Subject: | Re: [pear] database abstraction / general questions | ||
| References: | 1 | Groups: | php.dev php.pear |
| Request: | Send a blank email to php-dev+get-23643@lists.php.net to get a copy of this message | ||
Quoting Sebastian Bergmann <sebastian.bergmann@web.de>:
> 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@lists.php.net.
-chuck
--
Charles Hagenbuch, <chagenbu@wso.williams.edu>
--
"hello, I'm a giant cheese, and I'm here to give you a therapeutic massage"
Attachment: [application/x-httpd-php] search.php
Attachment: [application/x-httpd-php] search.php