Languages in mySQL & PHP
Posted by: Ken Iversen
Date: March 04, 2010 03:16AM

Hi,

I am running a mySQL database, and using php to display the content on my web pages..

all my db fields are 'utf8_general_ci'

I input a number of languages into the database, English, French, Japanese, Chinese, Thai..

When I display the content on my web site, English works fine (of course) , French also displays the French characters, however.. Chinese shows ???????
The webpage that is displaying the chinese code, is setup with style sheet to display chinese characters and display these fine, except for content from the database..

When I check the database, the chinese characters are still fine, so I am wondering if I need to add some code to my PHP? here is what I use to display the code on the page..

<?php echo $row_rsTours['TourTitle']; ?>

Any helps is greatly appreciated!!

Regards, Ken

Options: ReplyQuote


Subject
Views
Written By
Posted
Languages in mySQL & PHP
3737
March 04, 2010 03:16AM
1740
March 06, 2010 07:48PM


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.