0

I created two PHP pages, the first page to insert text into the database, and the second page to display the data saved in this database, so the problem is when I insert the text using PHP and whether it contains Arabic characters or emojis, I find characters in my database table like this for example: 'ينيبزثقلبقل بقبلقث', but in the second page it shows me the phrase correctly, and when I insert Arabic text or emojis using internal method (using PHPMyAdmin directly), it saved them correctly, but in the second PHP pages, it displays the correct data that I told you about it like this: '???? ??????????? ?????? ?????'. knowing that I modified the database collation to utf8mb4-general-ci. I will leave pictures for you to understand what I want exactly: database table, web page

douaa ghelis
  • 13
  • 1
  • 3

0 Answers0