tengo el siguiente codigo pero quiero que en el select dependiendo del que escoja muestre otra tabla tendria que crear otras tablas sql o no se ayuda plzzzzz
Código HTML:
Ver original<div align="center" style="color:#ffffff;" class="rowElem"> <b>Selecciona Un Modo Para Visualizar tus Datos:
</b> <select name="modo" style="margin-top:80PX;" id="select">
Código PHP:
Ver original<?php
include ("config.php");
echo "<table class='table2' style='margin-top:-430px;'>";
echo "<thead>";
echo" <tr>";
echo"<th scope='col' abbr='Deluxe'>KPIS</th>";
echo" <th scope='col' abbr='Deluxe'>ENERO</th>";
echo" <th scope='col' abbr='Deluxe'>FEBRERO</th>";
echo" <th scope='col' abbr='Deluxe'>MARZO</th>";
echo" <th scope='col' abbr='Deluxe'>ABRIL</th>";
echo" <th scope='col' abbr='Deluxe'>MAYO</th>";
echo" <th scope='col' abbr='Deluxe'>JUNIO</th>";
echo" <th scope='col' abbr='Deluxe'>JULIO</th>";
echo" <th scope='col' abbr='Deluxe'>AGOSTO</th>";
echo" <th scope='col' abbr='Deluxe'>SEPTIEMBRE</th>";
echo" <th scope='col' abbr='Deluxe'>OCTUBRE</th>";
echo" <th scope='col' abbr='Deluxe'>NOVIEMBRE</th>";
echo" <th scope='col' abbr='Deluxe'>DICIEMBRE</th>";
echo" </tr>";
echo" </thead>";
echo"<tfoot>";
echo"<tr>";
echo"<th scope='row'><font color='#000'>Dentro de Objetivo?</font></th>";
echo"<td><img src='objetivos/images/check0.png'/></td>";
echo"<td></td>";
echo"<td></td>";
echo"<td></td>";
echo"<td></td>";
echo"<td></td>";
echo"<td></td>";
echo"<td></td>";
echo"<td></td>";
echo"<td></td>";
echo"<td></td>";
echo"<td></td>";
echo"</tr>";
echo"</tfoot>";
echo"<tbody>";
echo"<tr>";
echo"<th scope='row'>LLAMADAS ATENDIDAS</th>";
echo"<td>$qry[atendidas] </td>";
echo"<td>$qry[fatendidas]</td>";
echo"<td>$qry[matendidas]</td>";
echo"<td>$qry[aatendidas]</td>";
echo"<td>$qry[mmatendidas]</td>";
echo"<td>$qry[jatendidas]</td>";
echo"<td>$qry[jjatendidas]</td>";
echo"<td>$qry[aaatendidas]</td>";
echo"<td>$qry[satendidas]</td>";
echo"<td>$qry[oatendidas]</td>";
echo"<td>$qry[natendidas]</td>";
echo"<td>$qry[datendidas]</td>"; echo"</tr>";
echo"</tbody>";
echo"</table>";
}
?>