John Comerford wrote:
Hi Folks,
I have just successfully lobbied for the company I work for to use
PHP/MySQL for our next website. My Question is regarding DB abstraction
. I know there is a Pear DB module, is this the best to use ? I have a
vague memory of reading somewhere that there is
> Hi Folks,
>
> I have just successfully lobbied for the company I work for to use
> PHP/MySQL for our next website. My Question is regarding DB abstraction
> . I know there is a Pear DB module, is this the best to use ? I have a
> vague memory of reading somewhere that there is a newer lib o
PEAR::DB was deprecated years ago. Do not use it.
PEAR::MDB2 is the preferred PEAR wrapper these days.
Personally, I skip them both and prefer to go straight to PDO, available in
PHP 5.
http://www.php.net/pdo
On Thursday 10 July 2008 1:47:34 am John Comerford wrote:
> Hi Folks,
>
> I ha
On Thu, 2008-07-10 at 16:47 +1000, John Comerford wrote:
> Hi Folks,
>
> I have just successfully lobbied for the company I work for to use
> PHP/MySQL for our next website. My Question is regarding DB abstraction
> . I know there is a Pear DB module, is this the best to use ? I have a
> va
I've used PDO, PEAR::DB, and ADOdb. I like ADOdb the most. You'd love
it's new Active Record extension.
On Tue, 2006-08-01 at 18:47 +0100, Yannick Warnier wrote:
> Hi there,
>
> I will soon need to include a database abstraction layer in my company's
> software and I am looking for the best ch
Yannick Warnier wrote:
Hi there,
I will soon need to include a database abstraction layer in my company's
software and I am looking for the best choice to make.
The software is promoted as working with PHP4, so I wouldn't use PDO,
although I see that a PHP4 implementation of PDO exists [1] and
Resources cannot be stored from script to script.
PHP cleans them up and nukes their contents at script end.
This is what all the "frameworks" folks are trying to "fix"...
:-) :-) :-)
On Tue, June 6, 2006 8:55 am, Ruben Rubio Rey wrote:
> Hi,
>
> Im having a trouble using memcached with pear db
On Thu, May 4, 2006 2:48 pm, Drew Butler wrote:
> Just had a quick question for anyone out there. I've been using PEAR's
> DB
> object for quite a while, as I have to simultaneously work with both
> MySQL
> and PostgreSQL. Currently I use the nextID() method to find new IDs
> for the
> rows that I
Matthew Weier O'Phinney wrote:
There's not much benefit or point in PEAR developers developing for a
non-PEAR library -- the idea is to create a set of high quality
libraries following a common set of coding standards and practices;
compatibility with outside libraries doesn't make sense if those
l
* [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> > Haven't done much with either of them, besides reading docs, but I'd
> > lean towards ADODB for its exception handling(with php5), if you
> > need error handling.
> >
> > Having that said, I haven't really a clue what I'm talking about in
> > this regard
> Haven't done much with either of them, besides reading docs, but I'd
> lean towards ADODB for its exception handling(with php5), if you need
> error handling.
>
> Having that said, I haven't really a clue what I'm talking about in
> this regard, so I'll be listening in with interest.
>
I'm assum
Haven't done much with either of them, besides reading docs, but I'd
lean towards ADODB for its exception handling(with php5), if you need
error handling.
Having that said, I haven't really a clue what I'm talking about in
this regard, so I'll be listening in with interest.
On Wed, 29 Dec 2004 1
* Thus wrote Dan Phiffer ([EMAIL PROTECTED]):
> Could somebody explain (or point me to some online docs) the usage of
> DB_FETCHMODE_FLIPPED, defined by PEAR DB? I feel like I've seen it mentioned
> on the PEAR site, but somehow I can't find it now.
>
> I'm pretty sure it's on a page linked from h
Sure is legal. I use it all /over/ the place.
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Gary [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 2:26 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PEAR DB class
Hi all,
Before I get starte
Based on the snippet you have sent us you need
to at least start by enclosing your column names
in your accesses to the associative array containing
your results.
Each line just use print_r or var_dump:
while($row = $result->fetchRow(DB_FETCHMODE_ASSOC))
{
print_r($row);
}
This will sh
Thanks. That will work quite nicely.
-Original Message-
From: Jack Dempsey [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001 1:20 PM
To: Matthew Walker; [EMAIL PROTECTED]
Subject: RE: [PHP] PEAR DB Questions
don't know about pear, but in case you can't do it,
don't know about pear, but in case you can't do it, there's a mysql version-
LAST_INSERT_ID()
like this:
mysql> select last_insert_id();
+--+
| last_insert_id() |
+--+
| 262 |
+--+
1 row in set (0.04 sec)
-jack
-Original Message--
17 matches
Mail list logo