Re: default mysql connection character-set
| From: | Richard Lynch | Date: | Thu, 03 Mar 2005 18:26:12 +0000 |
| Subject: | Re: default mysql connection character-set | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209935@lists.php.net to get a copy of this message | ||
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