"; } $dif=3-$c; for($i=1; $i<=$dif; $i++){ echo "

 

"; } }else{ $query = "select * from obras where id_obra='".$_GET['id_obra']."'"; $result = mysql_query($query) or die("Error en el Query : " . mysql_error()); $num_rows = mysql_num_rows($result); while ($row = mysql_fetch_array($result)) { extract($row); echo "

$obra

".nl2br($descripcion)."


<< Volver

"; echo "
"; } } ?>