Re: Problem of Connection Character Sets and Collations

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

 



On Sat, Sep 6, 2008 at 10:41 AM,  <edwardspl@xxxxxxxxxx> wrote:
> php :
> Which command line is right ?
> 1, mysql_query("SET NAMES utf8");
> 2, mysql_query("SET NAMES utf-8");
>
> Many thank for your help !
>
> Edward.

On the php side look at this:

http://us3.php.net/manual/en/function.mysql-set-charset.php

That's recommended over set names.

-- 
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