If I have a class called Registration, should I code in the mysql_connect
inside each function inside the class that needs it, or should I make a
function called dbConnect? If so, how can I correctly call dbConnect inside
the other functions of the class?
would it be something like this? Or am
Kirk Babb mailto:[EMAIL PROTECTED]
on Monday, October 06, 2003 4:57 PM said:
If I have a class called Registration, should I code in the
mysql_connect inside each function inside the class that needs it, or
should I make a function called dbConnect?
What you should do is define a db class
]; [EMAIL PROTECTED]
Sent: Monday, 06 October, 2003 20:26
Subject: RE: [PHP] general OO php question
Kirk Babb mailto:[EMAIL PROTECTED]
on Monday, October 06, 2003 4:57 PM said:
If I have a class called Registration, should I code in the
mysql_connect inside each function inside the class
3 matches
Mail list logo