Last active
August 29, 2015 13:55
-
-
Save fernandopetry/8735861 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
mysql_connect($servidor, $usuario, $senha) or die(mysql_error()); | |
mysql_select_db($banco) or die(mysql_error()); | |
mysql_query("SET NAMES 'utf8'"); | |
mysql_query('SET character_set_connection=utf8'); | |
mysql_query('SET character_set_client=utf8'); | |
mysql_query('SET character_set_results=utf8'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment