Re: uploading...
| From: | Jochem Maas | Date: | Mon, 26 Jun 2006 11:38:58 +0000 |
| Subject: | Re: uploading... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-238632@lists.php.net to get a copy of this message | ||
BBC wrote:
> hi all...
> I have the problem about this syntax:
>
> $db->query("INSERT INTO
products
> (
>code,size,description,material÷çB§D.—É ‘kw›
> ,ads,
>price,new,categorynrDÂ=}ÛV_êjF
> …«®Ö)
> 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---------------