Ver Mensaje Individual
  #11 (permalink)  
Antiguo 04/08/2009, 14:21
Avatar de abimaelrc
abimaelrc
Colaborador
 
Fecha de Ingreso: mayo-2009
Ubicación: En el planeta de Puerto Rico
Mensajes: 14.734
Antigüedad: 15 años
Puntos: 1517
Respuesta: Urgente, problema al querer grabar esta palabra

Debes hacerlo una de estas forma

Código PHP:
Ver original
  1. $barriofirmante = trim($_POST['barriofirmante']);
  2. $barriofirmante = strtoupper($barriofirmante); 
  3. $barriofirmante = addslashes($barriofirmante);

o

Código php:
Ver original
  1. $barriofirmante = trim($_POST['barriofirmante']);
  2. $barriofirmante = strtoupper($barriofirmante); 
  3. $barriofirmante = htmlentities($barriofirmante, ENT_QUOTES);
__________________
Verifica antes de preguntar.
Los verdaderos amigos se hieren con la verdad, para no perderlos con la mentira. - Eugenio Maria de Hostos