Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/11/2007, 17:38
Avatar de _eNGeLs_
_eNGeLs_
 
Fecha de Ingreso: noviembre-2007
Ubicación: CDE, Paraguay
Mensajes: 278
Antigüedad: 17 años, 2 meses
Puntos: 4
Sonrisa problema con variable

Como se puede hacer para meter todo esto:
"<a href= <?php echo $row['ruta_imag_original'];?> target='_blank'><img src='<?php echo $row['ruta_mediana'];?>' border='0' width='228' height='207'></a>"

en una variable?

probe de esta forma:
$variable = "<a href= <?php echo $row['ruta_imag_original'];?> target='_blank'><img src='<?php echo $row['ruta_mediana'];?>' border='0' width='228' height='207'></a>";

pero me tira este error:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING

hay alguna otra forma?? o cual es el problema?