[PHP-WIN] Re: php classes

2005-08-12 Thread Mike Milano
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

Re: [PHP-WIN] php classes

2005-08-12 Thread Sean Rowe
You should make sure that $link is not null. the call to 'new BdConnect()' is apparently not returning an object. The culprit is in your BdConnect class Marcos Nagamura wrote: Hi, sorry about the off-topic. With the following piece of code $link = new BdConnect(); $link->queryID = $link-

[PHP-WIN] php classes

2005-08-12 Thread Marcos Nagamura
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 con