Re: MYSQL DB not showing uft8 on php page
> $conn = @mysql_connect("localhost", "user", "pass");
Wrong API. You need to use the mysqli API.
> mysql_select_db("dabab1");
As above.
> $mysqli -> set_charset("utf8");
Won't work because the connection as above is mysql not mysqli.
Subject
Views
Written By
Posted
839
January 14, 2020 08:01PM
428
January 14, 2020 11:34PM
469
January 15, 2020 12:25AM
394
January 15, 2020 12:04PM
429
January 15, 2020 09:57PM
379
January 15, 2020 10:14PM
455
January 15, 2020 10:52PM
448
January 15, 2020 11:01PM
Re: MYSQL DB not showing uft8 on php page
455
January 16, 2020 12:22AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.