Accent problems in PHP and Mysql

Asked

Viewed 41 times

0

I inserted accented data in the database and when I will list with php it returns me the items as follows inserir a descrição da imagem aqui

How can I resolve this? Thank you :)

Ah, I’m using the latin1_swedish_ci collation in the table

  • 2

    You need to leave, base, connection, files, html in the same charset.

  • 3

    Good evening, this question has already been asked several times, I recommend you to search, see my answer that will guide you how to work with utf8 or is-8859-1: http://answall.com/a/43205/3635 - Second hint: I recommend that you use text instead of images when it comes to code. I’m sure you’ll take my comment as a constructive criticism. :)

  • 1

    What is the name of your database? and what is the name of your php project?

  • 1

    Thank you all. I have used what you have in that reply http://answall.com/a/14053/25567 and it worked

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.