Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Beállítás működő ékezetes magyar oldalhoz

//Weboldalakba:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

//PHP-ba: 

header("Content-type: text/html; charset=utf-8");
mysql_query("set names 'utf8'"); //közvetlenül db_connect után

//PHPMyAdmin:

Minden tábla és adatbázis utf8_general_ci
MySQL kapcsolat illesztése szintén utf8_general_ci


You need to create an account or log in to post comments to this site.


Click here to browse all 6646 code snippets