Re: [PHP] OOP Problem

2002-01-22 Thread Anas Mughal
send us the code that inherits your mysqldb class... --- Charles <[EMAIL PROTECTED]> wrote: > Hi, > > i have create a simple php class to learn how to oop > programming, like this: > > class mysqldb { > var $dbconn; > > function OpenCon($DBHOST,$DBUSER,$DBPASS){ > $this->dbconn = >

Re: [PHP] OOP Problem

2002-01-22 Thread Sam Masiello
ation. HTH Sam Masiello Software Quality Assurance Engineer Synacor (716) 853-1362 X289 [EMAIL PROTECTED] - Original Message - From: "Charles" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 22, 2002 10:25 AM Subject: [PHP] OOP Problem > Hi,

Re: [PHP] OOP Problem

2002-01-22 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 22-01-02 at 15:08 * Charles said > php give me a error, > call to undefined function: mysql_connect() > > php think that mysql_connect is my private function ? > Have you used mysql functions in that enviornment (without a class) befor

RE: [PHP] OOP Problem

2002-01-22 Thread Matt Friedman
eveloper www.SpryNewMedia.com Email: [EMAIL PROTECTED] -Original Message- From: Charles [mailto:[EMAIL PROTECTED]] Sent: Tuesday January 22, 2002 10:25 AM To: [EMAIL PROTECTED] Subject: [PHP] OOP Problem Hi, i have create a simple php class to learn how to oop programming, like this: class mysqldb

[PHP] OOP Problem

2002-01-22 Thread Charles
Hi, i have create a simple php class to learn how to oop programming, like this: class mysqldb { var $dbconn; function OpenCon($DBHOST,$DBUSER,$DBPASS){ $this->dbconn = mysql_connect($DBHOST,$DBUSER,$DBPASS); } } this is a simple example... but when i inherit the class, php gi