1

This code is for the mysql_, I want to change it to mysqli_.

Here is my code:

mysql_query("set character_set_server='utf8'"); 
mysql_query("set names 'utf8'");

The connection string is:

$con = mysqli_connect(host,user,password,database) or die('Unable to Connect');
Henry
  • 2,865
  • 1
  • 20
  • 32

0 Answers0