Re: php mysql codes insertion error.
| From: | Jonathan | Date: | Wed, 15 Dec 2004 03:36:28 +0000 |
| Subject: | Re: php mysql codes insertion error. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204380@lists.php.net to get a copy of this message | ||
Found the problem.
I set ( default_charset = "iso-8859-1" ) in php.ini and it solve the
problem.
Just in case anyone want to know.
"Jonathan" <newsgroup@optimustech.com> wrote in message
news:20041214122629.27136.qmail@pb1.pair.com...
> Hi,
>
> I have encounter something rather weird. In my development server,
>
> when I insert a string contain '&*%$, I got this in my mysql server '&*%$
> (i.e. the same)
>
> but in my application server, I got this â?T&*%$ in my mysql server (i.e.
'
> ==> â?T)
>
> anyone know how to resolve this? When I use the string to send out the
> email, I got the funny characters instead.
>
> Version Running
>
> development server
> mysql-server-3.23.58-9
> php-4.3.4
>
> application server:
> mysql-server-3.23.58-9
> php-4.3.8-2.1