Ver Mensaje Individual
  #4 (permalink)  
Antiguo 25/02/2011, 08:46
principianteZF
 
Fecha de Ingreso: octubre-2009
Mensajes: 240
Antigüedad: 14 años, 6 meses
Puntos: 6
Respuesta: htmlentities y UTF-8

Cuando vas a insertar a la base de datos podes utilizar: mysql_query("SET NAMES 'utf8'");
Código PHP:
Ver original
  1. mysql_query("SET NAMES 'utf8'");
  2. $query="insert into ... ;
  3.        
  4. mysql_query($query, $this->conexionadb)
  5. ...