HubsInfo Network
Login or Register to remove ads! You're browsing our forum and website as a Guest meaning you can only see a portion of the forum in read-only mode.
PHP MySQL Linux Material Design Web Hosting Online Games SimCity BuildIt

Diacritice si accente in PHP si MySQL


Diacritice si accente in PHP si MySQL
« on: September 20, 2021, 04:12:11 PM »
Diacritice si accente in PHP si MySQL

1. For HTML
Code: [Select]
<meta http-equiv="Content-type" content="text/html;charset=utf-8" />

2.
For MySQLi
Code: [Select]
mysqli_set_charset($conn, "utf8");

For MySQLi (OOP)
Code: [Select]
$conn->set_charset("utf8");





--
 



Linux Ubuntu Guides Linux games - Lutris.net