abase
specific calls inside my classes. This helps maintain portability of my
applications.
Hope that helps.
LW
-Original Message-
From: Philip Zee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 22 January 2003 5:16 PM
To: Luke Woollard; PHP-db
Subject: RE: [PHP-DB] Using Objects with
ng a class "User" to handle the
initialization and other functions for the user. What's the best way of doing
that?
Thanks,
Philip
-Original Message-
From: Luke Woollard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 9:38 PM
To: PHP-db
Subject: RE: [PHP-DB] Usi
ss in this magazine by a guy called
marco talbini http://www.phparch.com/
Else lookup PEAR:MB or adodb library on teoma.com or similar.
-Original Message-
From: Philip Zee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 22 January 2003 4:27 PM
To:
Subject: [PHP-DB] Using Objects with Databas
Hello all,
I am trying to create a class, say User. Each user has an entry in the database
table called user. Each function, including the constructor, will be calling
the database to do something. Is it better to initialize the database
connection inside each function or is it better to initia