Ver Mensaje Individual
  #16 (permalink)  
Antiguo 14/04/2006, 19:48
Avatar de jcxnet
jcxnet
 
Fecha de Ingreso: octubre-2005
Ubicación: Perú
Mensajes: 784
Antigüedad: 18 años, 6 meses
Puntos: 56
Información Un poco+ de javascript

He modificado un poco tu código; estoy usando una función en javascript para asignar los valores a los campos hidden de los 3 formularios; adicionalmente retiré varias sentencias echo, realmente no eran necesarias ya que puedes mezclar el html con el php .
La página quedaría de esta manera, no he podido probarla ya que no tengo la bd, pruébala y me cuentas como te va.
Código HTML:
<html>
<head>
<title>HERRAMIENTA PODCAST</title>
<script type="text/javascript">
  function Valor_Select(valor){
    document.getElementById('combo_value_1').value=valor;
    document.getElementById('combo_value_2').value=valor;
    document.getElementById('combo_value_3').value=valor;
  }
</script>
</head>
<BODY text=#000000 bgColor=#f5c743 leftMargin=0 topMargin=0>
<table borderColor=#2182e7 ALIGN="center" border="0" width="25%">
<form id="form1" method="GET" action="filtrarcategoria.php">
<tr>
<td valign="buttom">
<select name="tipos" onClick="Valor_Select(this.options[this.selectedIndex].value);"> 
<option selected>SELECCIONE....</option>
<?php
for( $i=1; $i <= $num_resultados; $i++ ){
  $row = mysql_fetch_array($resultado); 
  echo '<option value="'.$row['id_idioma'].'">'.$row['descripcion'].'</option>';
} ?>
</select>
</td>
<td valign="buttom">
<INPUT TYPE="submit" value="FILTRAR">
</td>
</tr>
</form>
</table>
<table borderColor="#2182e7" ALIGN="center" cellspacing="0" cellpadding="0" border="0" width="10%">
<tr align='left'>
<td align="center">

<form id="form2" method="get" name="cat" action="cargarcategoria.php">
<INPUT TYPE="submit" value="AÑADIR CATEGORIA">
<INPUT TYPE="hidden" value="" name="combo_value_1" id="combo_value_1">
</form>

</td>
<td align="center">

<form method="get" name="fich" action="cargarcategoria_archivos.php">
<INPUT TYPE="submit" value="AÑADIR FICHERO">
<INPUT TYPE="hidden" value="" name="combo_value_2" id="combo_value_2">
</form>
</td>
<td align="center">

<form method="post" action="cargaridiomas.php">
<INPUT TYPE="submit" value="AÑADIR IDIOMAS">
</form>
</td>
<td align="center">

<form method="get" id="form3" name="enlaces" action="cargarenlace.php">
<INPUT TYPE="hidden" value="" name="combo_value_3" id="combo_value_3">
<INPUT TYPE="submit" value="AÑADIR ENLACES">
</form>
</td>
<td align="center">

<form method="post" action="busqueda.php">
<INPUT TYPE="submit" value="ACTUALIZAR">
</form>

</td>
</tr>
</table>
</body>
</html> 
__________________
►I'm a devil on the run ♂
Jcxnet.com
*Keep It Simple **