Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
02-05-2013, 04:31 AM #1
- Join Date
- Nov 2010
- southwestern USA
- Thanked 47 Times in 45 Posts
is SET NAMES still common practice
Is it still common practice to use this
mysql_query("SET NAMES 'utf8'");
This is the first i have seen this and from what i understand it is not widely used that much.
I plan to convert it to
mysqli_query($dbconnect, "SET NAMES 'utf8'");
Update I do see where it has to be set prior to mysqli_real_escape_string
Last edited by durangod; 02-05-2013 at 04:36 AM.