Re: uploading...

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

 






On Tue, June 27, 2006 9:23 pm, BBC wrote:
>> BBC wrote:
>> > OK John....
>> > I'm sorry if my question was not specific
>> > - The out put error was:
>> >     "Fatal error: call to a member function an o non object in
> /url/data.php
>> > on line 34"
>> > - And the lines are:
>> > 34.   $db->query("INSERT INTO `products`
>>
>> $db isn't an object. Does it connect to the database without any
>> problems?
> Yes it does. I use it in other page and it can connect to the database
> properly.
> Are you suggesting me to change $db, Chris?

In the other page it might be an object.

It ain't in this one.  That's what the error message SAYS.

You'll have to backtrack $db to see where it's not what you expect,
and reason out WHY it's not an object, in THIS script, even though it
worked fine elsewhere.

-- 
Like Music?
http://l-i-e.com/artists.htm

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux