Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

utf8 php

//PDO
$conn->query("SET NAMES utf8");
or
$conn->exec("set names utf8");
//mysqli
mysql_query("set names 'utf8'");
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #php
ADD COMMENT
Topic
Name
1+9 =