MySQL Forums
Forum List  »  PHP

character map letters post to database from php
Posted by: macko klesnik
Date: March 02, 2013 04:18AM

Hi,

I allow users to create usernames with fancy letters (character map). I need to allow users to register with these usernames.

How ever when i post the letters from php into database, it shows other characters that are not the ones entered, The database table is set to UTF8 unicode.

Could anybody give me some sample code weather it be using an escape character or so forth before submitting the sql query to add the row to my mysql database.

Thanks

Options: ReplyQuote


Subject
Written By
Posted
character map letters post to database from php
March 02, 2013 04:18AM


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.