Re: php classes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 53

I 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

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux