Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Senior Coder
    Join Date
    Nov 2010
    Thanked 32 Times in 31 Posts

    is SET NAMES still common practice

    Is it still common practice to use this

    PHP Code:
    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

    PHP Code:
    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 05:36 AM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts