Código:
El codigo anterior esta detro del While del siguiente codigo:<? switch ($row['seccion']) { case "Cine":?><img src="imagenespu/cine4.jpg" width="90" height="80"> <? case "Cursos y Talleres":?><img src="imagenespu/cursosytalleres2.jpg" width="90" height="80"> <? case "Deportes":?><img src="imagenespu/deportes3.jpg" width="90" height="80"> <? case "Teatro":?><img src="imagenespu/teatro2.jpg" width="90" height="80"> <? case "Tecnologías de Información":?><img src="imagenespu/tecnologiainfo1.jpg" width="90" height="80"> <? } ?>
Código:
$query = "SELECT * FROM actividad_defi "; $result = mysql_query($query,$con); while ($row = mysql_fetch_array($result)) {...}