Ver Mensaje Individual
  #6 (permalink)  
Antiguo 10/06/2009, 06:13
Avatar de abidibo
abidibo
 
Fecha de Ingreso: mayo-2009
Mensajes: 121
Antigüedad: 15 años
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!