What to set to write hebrew in MySQL with PHP

1 Answer

0 votes
$con = new PDO("mysql:dbname=abc_db;host=localhost", "user_root", "password_12345");
$con->exec("SET NAMES 'utf8'");

 



answered Nov 16, 2020 by avibootz

Related questions

1 answer 514 views
1 answer 295 views
1 answer 284 views
1 answer 334 views
334 views asked Sep 27, 2015 by avibootz
1 answer 428 views
...