Re: php classes

From: Date: Fri, 12 Aug 2005 20:29:15 +0000
Subject: Re: php classes
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-26261@lists.php.net to get a copy of this message
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->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


« previous php.windows (#26261) next »