note 99210 added to function.mysql-set-charset
| From: | MohammedCherkaoui-ma-coder at hotmail dot com | Date: | Tue, 03 Aug 2010 20:27:16 +0000 |
| Subject: | note 99210 added to function.mysql-set-charset | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-171362@lists.php.net to get a copy of this message | ||
she did not works for me
but i find the solution
$dbName = 'example_db';
[PHP]
@mysql_query("ALTER DATABASE
".$dbName." DEFAULT CHARACTER SET utf8
COLLATE utf8_unicode_ci") or die(mysql_error());
[/PHP]
that's working for me
:)
----
Server IP: 79.132.192.3
Probable Submitter: 81.192.215.43
----
Manual Page -- http://www.php.net/manual/en/function.mysql-set-charset.php
Edit -- https://master.php.net/note/edit/99210
Del: integrated -- https://master.php.net/note/delete/99210/integrated
Del: useless -- https://master.php.net/note/delete/99210/useless
Del: bad code -- https://master.php.net/note/delete/99210/bad+code
Del: spam -- https://master.php.net/note/delete/99210/spam
Del: non-english -- https://master.php.net/note/delete/99210/non-english
Del: in docs -- https://master.php.net/note/delete/99210/in+docs
Del: other reasons-- https://master.php.net/note/delete/99210
Reject -- https://master.php.net/note/reject/99210
Search -- https://master.php.net/manage/user-notes.php