hoangthi Posted March 3, 2012 Share Posted March 3, 2012 $title = 'Wế ầrế Únítếd Stấtệs"; mysql_query("insert into mybb_threads(subject) VALUES('$title')"); And this is in Database(error Font): but I need this: Wế ầrế Únítếd Stấtệs Please help me Quote Link to comment Share on other sites More sharing options...
trq Posted March 3, 2012 Share Posted March 3, 2012 Are you using UTF-8? Quote Link to comment Share on other sites More sharing options...
hoangthi Posted March 3, 2012 Author Share Posted March 3, 2012 Thank you for replying, Yes. Utf-8 How can me fix this? Quote Link to comment Share on other sites More sharing options...
hoangthi Posted March 3, 2012 Author Share Posted March 3, 2012 Please help me. Who can? Quote Link to comment Share on other sites More sharing options...
hoangthi Posted March 4, 2012 Author Share Posted March 4, 2012 Can i use mysql_query("SET NAMES 'utf8'"); after my code connect to database? Quote Link to comment Share on other sites More sharing options...
hoangthi Posted March 4, 2012 Author Share Posted March 4, 2012 Can i use mysql_query("SET NAMES 'utf8'"); after my code connect to database? Quote Link to comment Share on other sites More sharing options...
fenway Posted March 5, 2012 Share Posted March 5, 2012 You're new -- please read the rules before posting. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.