Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/01/2009, 08:25
MAURIXIO5540
 
Fecha de Ingreso: noviembre-2008
Mensajes: 55
Antigüedad: 16 años, 4 meses
Puntos: 0
Respuesta: Se puede con un if o con un case

Yo realice algo parecido, y el codigo que utilice es el siguiente... espero poder ayudarte

<?php

if (contar_archivoss($_GET['id'])>=1)

echo '<img src="images/pdf.gif" width="30" height="30" alt="">';

else
echo '<img src="images/NODISPONIBLE.png" width="150" height="150" alt="">';
?>