php-windows Digest 16 Aug 2005 08:53:33 -0000 Issue 2751
Topics (messages 26261 through 26263):
Re: php classes
26261 by: Sean Rowe
26262 by: Mike Milano
composite key through phpmyadmin
26263 by: Achintya Chakraborty
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin 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
--- End Message ---
--- Begin 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 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
--- End Message ---
--- Begin Message ---
Hi all,
I want now how can I create tables with composite primary key
through phpmyadmin?
--- End Message ---