HubsInfo Network
You're browsing our forum as a Guest meaning you can only see a portion of the forum in read-only mode. To view all forum nodes and be able to create threads/posts please register or log-in.
PHP MySQL Linux Material Design Web Hosting Online Games SimCity BuildIt

Diacritice si accente in PHP si MySQL

0 Members and 1 Guest are viewing this topic.

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