Ver Mensaje Individual
  #3 (permalink)  
Antiguo 21/03/2013, 07:07
cachusan
 
Fecha de Ingreso: septiembre-2011
Mensajes: 219
Antigüedad: 12 años, 7 meses
Puntos: 31
Respuesta: Problemas con if y str_replace

O simplemente hacer trim()

Código PHP:
Ver original
  1. $sustituto=strtoupper(trim($sustituto));