RE: PHP4 mysqli with mysql 4.1.7?

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

 



> What happens in your application if you just do:
>
> mysql_query("SET CHARACTER SET utf8", $connection) or die(mysql_error());
>
> right after you connect to the database?

Thank you, by adding mysql_query("SET CHARACTER SET utf8", $connection), it
works now.  However, I am still confused on some issue:

1. Is it possible to set the PHP mysql client to use utf8 as default?  In
this way, I do not need to modify all of my applications.
2. Why mysqli + 4.1.x is recommended?


Francis Mak

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