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?