Hola a todos, haber si me podeis ayudar:
    
Código PHP:
Ver original<form id="buscador" name="buscador" method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>">
      <table width="419" border="3" align="center">
  <tr>
    <th height="41" colspan="2" bgcolor="#7E7EEF" scope="col"><div align="center" class="Estilo3">BUSCAR POR SEDE </div></th>
    </tr>
  <tr>
    <td height="29" bgcolor="#C7C7F8"><div align="center">
     
      <p>
        <select name="lista"  >
          <option style="background:blue; color:white" value="fibra" selected="selected">FIBRA</option>
          <option style="background:red; color:white" value="shdsl">SHDSL</option>
          <option style="background:blue; color:white" value="radio">RADIO</option>
    
        </select>
      </p>
      
    </div>      </td>
    <td width="113" bgcolor="#C7C7F8"><div align="center">
      <input type="submit" name="buscador" class="boton peque aceptar" value="buscar" />
    </div></td>
  </tr>
</table>
    
</form>
 
 
 <div align="center">
 
   
      <?php
    include("conexion.php");
    $listar = trim($_POST['lista']);     
    
    $query=("select * from $listar ORDER BY codigo")or 
die(mysql_error());     ?>
    <br />
    
    <table width="772" height="42" border="3" bgcolor="#C7C7F8">
        <tr>
          <th width="92" height="32" bgcolor="#000033" scope="col"><span class="Estilo9">CÓDIGO</span></th>
          <th width="111" bgcolor="#000033" scope="col"><span class="Estilo9">PROVINCIA</span></th>
          <th width="136" bgcolor="#000033" scope="col"><span class="Estilo9">Adm (RCL)</span></th>
          <th width="131" bgcolor="#000033" scope="col"><span class="Estilo9">INTERFACE</span></th>
          <th width="151" bgcolor="#000033" scope="col"><span class="Estilo9">VRF</span></th>
          <th width="107" bgcolor="#000033" scope="col">EVENTO</th>
        </tr> 
      </table>
      
      <?php
    
    
    $num_fila = 0;
    {
    
     
    
            if ($num_fila%2==0) {
        ?>
        
         <table width="772" height="42" border="3" bgcolor="#C7C7F8">
        <tr>
          <th width="92" height="32" scope="col"><span class="Estilo5"><?php echo $row['codigo']; ?></span></th>
          <th width="112" scope="col"><span class="Estilo5"><?php echo $row['provincia']; ?></span></th>
          <th width="135" scope="col"><span class="Estilo5"><?php echo $row['administrativor']; ?></span></th>
          <th width="131" scope="col"><span class="Estilo5"><?php echo $row['interface']; ?></span></th>
          <th width="151" scope="col"><span class="Estilo5"><?php echo $row['vrf']; ?></span></th>
          <th width="107" bgcolor="#000033" scope="col"><a href="mostrar2.php?id=<?php echo $row['id'] & $listar ?>">MOSTRAR</th>
        </tr> 
      </table>
      
      <?php
  
RESUMO:
1.- <select name="lista"  > Aqui elijo en que tabla quiero que busque e imprimo algunos campos de esa tabla.
2.- <a href="mostrar2.php?id=<?php echo $row['id'] & $listar ?>">MOSTRAR</th> 
y aqui cuando clico quiero que me muestre el ese id y sus campos en otra pagina...pero solo puedo capturar el id con:
$v1 = $_GET['id'];
pero no se en que tabla buscar porque no se como pasar $listar 
Alguna idea?