Ver Mensaje Individual
  #6 (permalink)  
Antiguo 10/06/2009, 06:13
Avatar de abidibo
abidibo
 
Fecha de Ingreso: mayo-2009
Mensajes: 121
Antigüedad: 17 años, 4 meses
Puntos: 7
Respuesta: Añadir texto a variable de texto.

Hola, el operator para sumar textos es ese el punto .
Código PHP:
$text = '';
$text .= "primero";
$text .= " - segundo";
echo 
$text;

// igual a: (pero mejor)
$text = '';
$text = $text."primero";
$text = $text." - segundo"; 
Chao!