Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #8148
| From | Christoph Becker <cmbecker69@gmx.de> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: PEAR DB: "PHP Fatal error: Call to undefined method DB::query()" |
| Date | 2013-01-29 12:20 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <ke8b8b$nik$1@speranza.aioe.org> (permalink) |
| References | <0a977961-c477-420e-9404-a9e027174b84@googlegroups.com> <ke8474$362$1@speranza.aioe.org> <570000a9-74fb-49f2-8197-3629e69b7477@googlegroups.com> |
Robert S wrote: > Where do I declare this? Is it in my code or in DB.php? It is in the file where class DB is defined (probably DB.php), which seems to have been written for PHP 4, where the "static" keyword was not allowed for class members. You might consider to switch to another DB abstraction layer, e.g. PDO (<http://php.net/manual/en/book.pdo.php>). -- Christoph M. Becker
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
PEAR DB: "PHP Fatal error: Call to undefined method DB::query()" Robert S <robert.schmidli@gmail.com> - 2013-01-29 01:03 -0800
Re: PEAR DB: "PHP Fatal error: Call to undefined method DB::query()" Christoph Becker <cmbecker69@gmx.de> - 2013-01-29 10:19 +0100
Re: PEAR DB: "PHP Fatal error: Call to undefined method DB::query()" Robert S <robert.schmidli@gmail.com> - 2013-01-29 02:35 -0800
Re: PEAR DB: "PHP Fatal error: Call to undefined method DB::query()" Christoph Becker <cmbecker69@gmx.de> - 2013-01-29 12:20 +0100
Re: PEAR DB: "PHP Fatal error: Call to undefined method DB::query()" Jerry Stuckle <jstucklex@attglobal.net> - 2013-01-29 07:58 -0500
csiph-web