Re: php classes
| From: | Mike Milano | Date: | Fri, 12 Aug 2005 23:35:14 +0000 |
| Subject: | Re: php classes | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-26262@lists.php.net to get a copy of this message | ||
just a guess, are you sure you didn't transpose the first 2 letters of the class? should it be DbConnect() and not BdConnect() ?
now that i think about it you would probably get a different error if the class didn't exist though.
Marcos Nagamura wrote:
Hi, sorry about the off-topic. With the following piece of code $link = new BdConnect();$link->queryID = $link->BdQuery($query); # line 53I got Fatal error: Call to a member function on a non-object in c:\apache\apache\htdocs\main.php on line 53 PHP script runs on machine1, which connects to a mysql server running on machine2. Any help is appreciated. Thanks in advance, zagab