Informáticos or Informáticos......
Hello,
I keep on strungling for hours to get spanish caracters in my mysql :-(
Unless I put the collation on utf8_spanish_ci, or latin1_spanish_ci is doesn't work ok.
When I put in the query direct in the phpmyadmin -> sql it works fine:
INSERT INTO `test` (`texto`) VALUES ('Informáticos', 'diseño')
Gives in the database:
texto1 texto2
Informáticos diseño
But when I run it in a program like this, it goes wrong:
$sql = "INSERT INTO `test` (`texto1`,`texto2`) VALUES 'Informáticos', 'diseño') ";
$result= mysql_query($sql);
texto1 texto2
Informáticos diseño
What am I doing wrong?
Thanks in advance,
Valeria
Subject
Views
Written By
Posted
Informáticos or Informáticos......
3309
September 30, 2009 02:50PM
2316
October 14, 2009 10:39PM
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.