shmideo Posted December 3, 2014 Share Posted December 3, 2014 Hi, I'm using $clid = mysqli_real_escape_string ($dbcon, $_POST['clid']); but have come across an issue with certain characters, for example: "bekæ" actually searches for "bekæ", hence no records. The records cannot be changed in the table, so is there a way to fix this? Quote Link to comment https://forums.phpfreaks.com/topic/292863-query-in-php-not-working-for-danish-characters/ Share on other sites More sharing options...
Solution hansford Posted December 4, 2014 Solution Share Posted December 4, 2014 Instead of repeating this information, as this issue has come up many times before, here is a link to the answer. http://stackoverflow.com/questions/19546792/php-mysql-foreign-characters Quote Link to comment https://forums.phpfreaks.com/topic/292863-query-in-php-not-working-for-danish-characters/#findComment-1498417 Share on other sites More sharing options...
shmideo Posted December 4, 2014 Author Share Posted December 4, 2014 Thank you! Quote Link to comment https://forums.phpfreaks.com/topic/292863-query-in-php-not-working-for-danish-characters/#findComment-1498525 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.