Re: MYSQL DB not showing uft8 on php page
Posted by: Ben Je
Date: January 15, 2020 11:01PM

After further research I found this to display the code properly after adding it to the php connection line:

mysql_select_db("datab1");
mysql_query("SET NAMES 'utf8'");
mysql_query('SET CHARACTER SET utf8');

Options: ReplyQuote


Subject
Views
Written By
Posted
343
January 14, 2020 08:01PM
153
January 15, 2020 12:25AM
150
January 15, 2020 09:57PM
154
January 15, 2020 10:52PM
Re: MYSQL DB not showing uft8 on php page
160
January 15, 2020 11:01PM


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.