Posted by Richard Lynch on 03/03/05 20:26
arusp@atasever.net 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
[Back to original message]
|