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

Reply via email to