![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
15/09/2011, 09:07
|
![Avatar de tortosaserveix](http://static.forosdelweb.com/customavatars/avatar377256_1.gif) | | | Fecha de Ingreso: noviembre-2010
Mensajes: 8
Antigüedad: 14 años, 2 meses Puntos: 0 | |
Respuesta: colocar variavle $$algo dentro de un <img src Ay que duplicar!!,
A ver si me explico mejor con un ejemplo:
<?php $variable = $pagina.$usuario; $algo=$Variable;
if($pagina==index){}else{print ("<img src=www.etc.../imatge/2.gif title=' $$algo'>");}?> |