Re: uploading...

From: Date: Mon, 26 Jun 2006 15:44:19 +0000
Subject: Re: uploading...
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-238639@lists.php.net to get a copy of this message
"Fatal error: call to a member function an o non object in /url/data.php on line 34" and the syntax is in line 34, so what can I do..?
Please give us output of the error that mysql returns. cheers, BBC wrote:
hi all... I have the problem about this syntax: $db->query("INSERT INTO products (code,size,description,material,ads,price,new,categorynr) VALUES
       ('$code',
        '$size',
        '$description',
        '$material',
        '$ads',
        '$price',
        '$new',
        '$categorynr')");
the syntax above could work properly in my computer which using PHP 4.1.1 but the problem is when I publish it the server where I hosted couldn't run such syntax (server uses PHP 4.4.2 I don't know why. is any one can help me? please tell me the right syntax... Best Regard -------------BBC---------------
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#238639) next »