Re: default mysql connection character-set

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

 



arusp@xxxxxxxxxxxx wrote:
> is there a Runtime Configuration variable (php.ini) that defines "default
> mysql connection character-set" like my.cnf's "default-character-set =" in
> the [client] segment ?
>
> otherwise i have to execute "mysql_query('SET CHARACTER SET latin5');"
> everytime after connecting the database .

Errrr.

Your mysql_connect should be in an include file anyway, so you should only
have this in ONE file in the first place...

I don't think there's a performance issue for "SET CHARACTER SET ..." is
there?

-- 
Like Music?
http://l-i-e.com/artists.htm

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