Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/08/2010, 14:48
Avatar de Marvin
Marvin
Colaborador
 
Fecha de Ingreso: febrero-2005
Ubicación: global $Chile->Santiago;
Mensajes: 1.991
Antigüedad: 19 años, 3 meses
Puntos: 81
Respuesta: Llenar un textbox con las letras iniciales de tres textbox del mismo formu

Si tienes todo en variables puedes hacer esto:
Código PHP:
$textbox1 "Bogota";
$textbox2 "Norte";
$textbox3 "Apartamento";
$textbox4 substr($textbox1,0,1).substr($textbox2,0,1).substr($textbox3,0,1);

echo 
'
<input type="text" name="textbox1" value="$textbox1">
<input type="text" name="textbox2" value="$textbox2">
<input type="text" name="textbox3" value="$textbox3">
<input type="text" name="textbox4" value="$textbox4">'

Suerte!
__________________
El que dice "Solo sé que nada sé", esta asumiendo que sabe algo.
Lea las FAQ's!