Re: uploading...

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

 



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?

I doubt it - for instance you don't bother to tell us what the error is.

I'd guess your production server has register_globals turned off.
go STW for what register_globals is and what it means for you.

> 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


[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